Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334555 - [Tooling] Deprecate log-level combo box in launcher
Summary: [Tooling] Deprecate log-level combo box in launcher
Status: CLOSED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Tools (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 328107
Blocks: 336242
  Show dependency tree
 
Reported: 2011-01-17 12:50 EST by Tim Buschtoens CLA
Modified: 2011-02-10 08:29 EST (History)
2 users (show)

See Also:


Attachments
Version 1 (15.21 KB, patch)
2011-02-03 09:58 EST, Beyhan Veliev CLA
no flags Details | Diff
Version 2 (5.37 KB, patch)
2011-02-10 08:12 EST, Beyhan Veliev CLA
holger.staudacher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2011-01-17 12:50:53 EST
After removing the qooxdoo logging implementation, the combo box in the lauchner is obsolete.
Comment 1 Beyhan Veliev CLA 2011-02-03 09:58:19 EST
Created attachment 188237 [details]
Version 1

Provided patch removes the qooxdoo logging functionality included into RAP-tooling. Test cases has been updated also.
Comment 2 Rüdiger Herrmann CLA 2011-02-05 08:16:48 EST
Not sure from when on we can remove the log-level UI . It might be that users will use 'new' tooling to develop RAP applications based on 1.3 (where the log-leve is still working).
In the meantime, we could append a text right to the combo that indicates that this setting is only applies to runtimes < 1.4 M5

Or am I too precautios, what do you think?
Comment 3 Ralf Sternberg CLA 2011-02-08 19:36:54 EST
Of course, you're right. With bug 334913, you can even install an 1.3 runtime using the 1.4 tooling, before the release of 1.4.

Would the 1.3 runtime be unusable without this option? The default log level is OFF, that means if we removed this option, the 1.3 runtime would not even render error messages, right? Whereas in the current 1.4 runtime, we changed a lot of "this.error()" occurrences to "throw new Error()" - is this correct, Tim?

If so, should we then retain the option for 1.4?
Comment 4 Beyhan Veliev CLA 2011-02-10 08:12:44 EST
Created attachment 188679 [details]
Version 2

>If so, should we then retain the option for 1.4?
The decision was to retain the option for 1.4. The provided patch decorates the log level combo box with a warning which informs the user that log level is not supported in RAP 14.
Comment 5 Holger Staudacher CLA 2011-02-10 08:28:47 EST
I like this approach a lot. I modified your patch a little (formating and naming) and committed it to CVS HEAD. Good job!