Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358649 - Replace existing StdErrLog system properties for DEBUG/IGNORED with LEVEL instead.
Summary: Replace existing StdErrLog system properties for DEBUG/IGNORED with LEVEL ins...
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.5.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 7.5.x   Edit
Assignee: Joakim Erdfelt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 14:58 EDT by Joakim Erdfelt CLA
Modified: 2011-10-20 20:11 EDT (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 Joakim Erdfelt CLA 2011-09-22 14:58:17 EDT
Deprecate the following System Properties for configuring the output level.

"org.eclipse.jetty.util.log.IGNORED"
"org.eclipse.jetty.util.log.DEBUG"
"org.eclipse.jetty.util.log.stderr.DEBUG"

and replace them with 

"org.eclipse.jetty.util.log.stderr.LEVEL" with possible values of (ALL, DEBUG, INFO, WARN)
Comment 1 Joakim Erdfelt CLA 2011-09-27 11:23:25 EDT
Related change:

The StdErrLog has legacy code to configure the level per FQCN and arbitrary package hierarchy as well.  
If implementing this change, also support this granularity of configuration as well.
Comment 2 Greg Wilkins CLA 2011-09-27 22:58:14 EDT
I'd like to see LEVEL implemented with regards to ignored exceptions so that:

LEVEL==DEBUG, then ignored exceptions are logged as toString (ie not stack trace)
LEVEL==ALL, then ignored exceptions are logged with full stack traces
Comment 3 Joakim Erdfelt CLA 2011-10-20 20:11:29 EDT
Considering this complete/resolved