Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352768 - Tomcat INFO log messages are directed to System.err
Summary: Tomcat INFO log messages are directed to System.err
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.0.0.M06   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0.2.RELEASE   Edit
Assignee: Hristo Iliev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 355479
Blocks:
  Show dependency tree
 
Reported: 2011-07-21 10:37 EDT by Glyn Normington CLA
Modified: 2011-11-29 10:27 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2011-07-21 10:37:14 EDT
As noted in https://bugs.eclipse.org/bugs/show_bug.cgi?id=352212#c3, the JUL ConsoleHandler has the unfortunate property of redirecting all Tomcat logging output to System.err.

This causes users to think that something is broken when it's not. For example:

http://www.eclipse.org/forums/index.php?t=rview&goto=699397#msg_699397

It has even confused committers, as in bug 352212!

We should consider using a better console handler in Virgo so that INFO logs are redirected to System.out and warnings and worse are redirected to System.err.
Comment 1 Hristo Iliev CLA 2011-10-21 10:30:02 EDT
Fixed with bug 355479