Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363725 - Debug messages being written by Jetty
Summary: Debug messages being written by Jetty
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Server-Side (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Simon Archer CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 12:19 EST by Chris Goldthorpe CLA
Modified: 2019-11-07 12:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2011-11-14 12:19:37 EST
N20111112-2000 + fix for Bug 363584

Help/Help Contents

A large number of debug messages are written to the log, including the ones below.

09:18:02.891 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG org.eclipse.jetty.server.Server - REQUEST /help/advanced/indexView.jsp on org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@1b80e60@127.0.0.1:50877<->127.0.0.1:50883
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG o.e.j.server.handler.ContextHandler - scope null||/help/advanced/indexView.jsp @ o.e.j.s.ServletContextHandler{/help,null}
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG o.e.j.server.handler.ContextHandler - context=/help||/advanced/indexView.jsp @ o.e.j.s.ServletContextHandler{/help,null}
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG org.eclipse.jetty.server.session - Got Session ID 1t9137ty2l790xlja47ld6wao from cookie
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG org.eclipse.jetty.server.session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@102d3de#STARTED
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG org.eclipse.jetty.server.session - session=org.eclipse.jetty.server.session.HashedSession:1t9137ty2l790xlja47ld6wao@25153896
09:18:02.892 [qtp11507884-39 - /help/advanced/indexView.jsp?view=index] DEBUG o.e.jetty.servlet.ServletHandler - servlet /help||/advanced/indexView.jsp -> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-16555948
Comment 1 Chris Goldthorpe CLA 2011-11-14 12:23:25 EST
Correction: The messages were written to the console, not the log. The fix to Bug 363584 is not required to reproduce the problem.
Comment 2 Thomas Watson CLA 2011-11-14 14:05:39 EST
Simon A. please have a look.
Comment 3 Hernan Gonzalez CLA 2013-11-04 16:46:24 EST
Same here. 

I experienced this after migrating a RCP product that uses the Eclipse help system (org.eclipse.help.*) from Indigo (3.7) to Kepler (4.3). Tons of DEBUG logs are written to stderr when I access the Help.
Comment 4 Hernan Gonzalez CLA 2013-11-04 17:04:31 EST
To add to the previous: It would seem that the StdErrLog instance is being created with LEVEL_DEBUG (or less), instead of the (expected?) default LEVEL_INFO. 

A small trimmed sample:

19:00:34.222 [qtp14173363-43] DEBUG org.eclipse.jetty.http.HttpParser - filled 637/637
19:00:34.223 [qtp14173363-43 - /help/advanced/tocView.jsp?view=toc] DEBUG org.eclipse.jetty.server.Server - REQUEST /help/advanced/tocView.jsp on
19:00:34.223 [qtp14173363-43 - /help/advanced/tocView.jsp?view=toc] DEBUG o.e.jetty.servlet.ServletHandler - servlet /help||/advanced/tocView.jsp 
19:00:34.223 [qtp14173363-40 - /help/advanced/tocToolbar.jsp] DEBUG o.e.j.server.handler.ContextHandler - scope /help||/advanced/tocToolbar.jsp @
19:00:34.224 [qtp14173363-43] DEBUG o.e.jetty.server.AsyncHttpConnection - Enabled read interest SCEP@124ec4a{l(/127.0.0.1:17881)<->r(/127.0.0.1:

I don't have any  jetty-logging.properties in my classpath and my System.getProperties() returns nothing related with this. For completenes, here's the full keys list:

 applicationXMI
 awt.toolkit
 eclipse.commands
 eclipse.consoleLog
 eclipse.home.location
 eclipse.launcher
 eclipse.launcher.name
 eclipse.product
 eclipse.startTime
 equinox.use.ds
 file.encoding
 file.encoding.pkg
 file.separator
 gosh.args
 java.awt.graphicsenv
 java.awt.printerjob
 java.class.path
 java.class.version
 java.endorsed.dirs
 java.ext.dirs
 java.home
 java.io.tmpdir
 java.library.path
 java.runtime.name
 java.runtime.version
 java.specification.name
 java.specification.vendor
 java.specification.version
 java.vendor
 java.vendor.url
 java.vendor.url.bug
 java.version
 java.vm.info
 java.vm.name
 java.vm.specification.name
 java.vm.specification.vendor
 java.vm.specification.version
 java.vm.vendor
 java.vm.version
 line.separator
 org.eclipse.equinox.launcher.splash.location
 org.osgi.framework.executionenvironment
 org.osgi.framework.language
 org.osgi.framework.os.name
 org.osgi.framework.os.version
 org.osgi.framework.processor
 org.osgi.framework.system.capabilities
 org.osgi.framework.system.packages
 org.osgi.framework.uuid
 org.osgi.framework.vendor
 org.osgi.framework.version
 org.osgi.supports.framework.extension
 org.osgi.supports.framework.fragment
 org.osgi.supports.framework.requirebundle
 os.arch
 os.name
 os.version
 osgi.arch
 osgi.bundles
 osgi.bundles.defaultStartLevel
 osgi.bundlestore
 osgi.checkConfiguration
 osgi.configuration.area
 osgi.configuration.cascaded
 osgi.dev
 osgi.framework
 osgi.framework.shape
 osgi.framework.version
 osgi.install.area
 osgi.instance.area
 osgi.logfile
 osgi.manifest.cache
 osgi.nl
 osgi.nl.user
 osgi.os
 osgi.requiredJavaVersion
 osgi.splashLocation
 osgi.splashPath
 osgi.syspath
 osgi.tracefile
 osgi.ws
 path.separator
 sun.arch.data.model
 sun.boot.class.path
 sun.boot.library.path
 sun.cpu.endian
 sun.cpu.isalist
 sun.desktop
 sun.io.unicode.encoding
 sun.java.command
 sun.java.launcher
 sun.jnu.encoding
 sun.management.compiler
 sun.os.patch.level
 user.country
 user.dir
 user.home
 user.language
 user.name
 user.script
 user.timezone
 user.variant
Comment 5 Eclipse Genie CLA 2019-11-07 12:14:29 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.