| Summary: | [Compatibility] A hover using 4.0 SDK causes Jetty console logs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Paul Webster <pwebster> |
| Component: | User Assistance | Assignee: | platform-ua-inbox <platform-ua-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bokowski, cgold, ChrisAustin, daniel_megert, gunnar, john.arthorne, remy.suen, simon_kaegi, stephan.herrmann |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Paul Webster
Believe it or not it's normal for a web server to be started when you hover in a java editor. I'm wondering if this is normal logging and it's just appearing because we have added a certain logging package. This is just tracing info and doesn't seem to indicate a problem. (In reply to comment #1) > I'm wondering if this is normal logging and it's just appearing because we have > added a certain logging package. Maybe this is it, because the same steps don't cause a problem in 3.6 PW IMHO the logging itself is the bug. I just found my console flooded with similar messages when opening the help browser (using 3.6 RC4). Has some component accidentally hard-coded full debug output? Is there at least an option to turn of all this noise? (In reply to comment #3) > IMHO the logging itself is the bug. Sorry, yes, this bug was a complaint about logging to the console, not that the jetty server started up. PW It seems we have some SLF4J bundles installed in 4.0 builds, but I can't see where they are coming from. If you use Help>Help Contents, jetty will log every click while you navigate the help. I20100727-1520 PW I am getting this output on the 3.x I20100824-1210. Where should we send this bug to? UA? (In reply to comment #7) > I am getting this output on the 3.x I20100824-1210. Where should we send this > bug to? UA? Dani? Chris? Using 3.6 or the latest 3.7 build you would not see these messages in the log. It looks as though some debug settings are turned on which are causing this output from Jetty. I'm not sure how Jetty debug settings are turned on and off, maybe Simon has an idea. (In reply to comment #9) > Using 3.6 or the latest 3.7 build you would not see these messages in the log. I got the logging messages with I20100824-1210 which is pretty recent. Was the bug fixed in the last week or so? What is the number? I just tried Eclipse 3.7 build I20100824-1210 ( on Win XP ), I launched a new workspace, created a plug-in project and hovered over class names until the help system started up but did not see any messages written to the console. I don't know why I'm not seeing the same problem. It would help if we knew what test Jetty performed when deciding whether to turn on debug messages. >Dani? Chris?
Rather UA but I've never seen this so far.
Moving to UA. Chris, should we try to find someone from Jetty to comment on this? David has reported something similar in bug 324922. FWIW, the default SLF4J/Logback configuration is *full* debug logging to console and that's likely what happening here. Everybody that gets the console log message is likely running with SLF4J + Logback bundles. There are multiple options available. 1. Point to default log configuration which disables logging. This can be done via a system property pointing to a log config file. It might also be possible to provide a default config via a fragment. 2. Upgrade to SLF4J >= 1.6 to avoid the dependency on Logback. Since 1.6.0 SLF4J is able to run without a logging implementation. It will just emit a single warning upon start up and discard all logging afterwards. 3. Don't install SLF4J at all. That might only be possible if no other bundle is importing SLF4J api. The Jetty bundle in Orbit is capable of running without SLF4J. *** This bug has been marked as a duplicate of bug 324922 *** |