Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Why doesn't Tomcat log to System.err?
Why doesn't Tomcat log to System.err? [message #222454] Tue, 30 September 2008 03:42 Go to previous message
Eclipse User
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
 
Read Message
Read Message
Read Message
Previous Topic:Turn off JavaScript validator
Next Topic:Eclipse newbie looking for UDDI guidance
Goto Forum:
  


Current Time: Wed May 22 10:40:33 EDT 2013

Powered by FUDForum. Page generated in 0.02713 seconds