commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [logging] Log message color
Date Fri, 10 Jun 2005 06:38:11 GMT
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
>> commons-logging.properties? 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message