Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358649

Summary: Replace existing StdErrLog system properties for DEBUG/IGNORED with LEVEL instead.
Product: [RT] Jetty Reporter: Joakim Erdfelt <joakim.erdfelt>
Component: serverAssignee: Joakim Erdfelt <joakim.erdfelt>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: gregw, jetty-inbox
Version: 7.5.1   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:

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