| Why doesn't Tomcat log to System.err? [message #222454] |
Tue, 30 September 2008 03:42  |
|
Originally posted by: dontreply.want.ch
Hi all
On Eclipse 3.3.1 (also tried Ganymede 3.4.?), the integrated Tomcat (5.5)
seems to log everything to the Eclipse System.out console. I've set up log4j
to log DEBUG-INFO to System.out and WARN-FATAL to System.err. When running a
unit test, this logging setup works fine, warnings and errors appear in the
color of System.err (red). When launching Tomcat, all messages are black (as
in System.out). The log4j part is definitely ok, if I change the pattern of
the System.err appender, this is reflected in Eclipse console (but black
instead of red)
It's a rather minor issue, but with a Spring/Hibernate webapp, there are
lots of potentially important messages (especially during testing) and
having warnings and errors pop up in red would really help.
Is this a known bug, do I need to reconfigure something?
Thanks a lot
Simon
|
|
|