J�rg,
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 instead? 

Thanks,
Ross

-----Original Message-----
From: J�rg Schaible [mailto:[EMAIL PROTECTED] 
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 
>> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to