commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larner, Ross S" <>
Subject RE: [logging] Log message color
Date Fri, 10 Jun 2005 16:48:51 GMT
You are correct - the problem appears to be that SimpleLog is outputting to stderr, not stdout
as System.out.println does. Is there another logging implementation that outputs to stdout


-----Original Message-----
From: Jörg Schaible [] 
Sent: Thursday, June 09, 2005 11:38 PM
To: Jakarta Commons Users List
Subject: RE: [logging] Log message color

Simon Kitching wrote on Friday, June 10, 2005 12:27 AM:

> On Thu, 2005-06-09 at 14:12 -0400, Larner, Ross S wrote:
>> Hello. I am using the Commons Logging and I would like to find out 
>> the way to change the color of the log messages that show up in the 
>> Eclipse window. Previously I was using System.out.println, and the 
>> debug messages were blue, while Exceptions were Red. Now both are 
>> red. Is there a way to change the text color in 
>> Currently said file contains:
> org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleL
>> og
>> org.apache.commons.logging.simplelog.defaultlog=trace
> This is definitely a question that should be discussed on the eclipse 
> list, not the commons list. This colouring of messages must be 
> something done by eclipse as commons logging's SimpleLog just outputs 
> plain text.

The difference is an output to stdout vs. stderr. He has to use a different logging implementation,
where he can configure which log levels are printed to what output channel.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message