You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by D Alvarado <la...@wildmail.com> on 2004/01/28 20:38:33 UTC

[logging] printing to stderr

What property do I set so that logging messages
will get sent to STDERR.  I read in the
documentation that they (e.g. SimpleLog) gets
printed to STDOUT.

Thanks - Dave


Care2 make the world greener!
Think twice before eating farmed salmon. Find out why:
http://www.care2.com/go/z/11051/1067

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [logging] printing to stderr

Posted by Dennis Lundberg <de...@mdh.se>.
Hi

SimpleLog writes its logging messages to System.err. This is hardcoded 
and cannot be changed, from what I can see in the code (version 1.0.3).

I was not able to find any references to STDOUT in the documentation. 
Where did you read this. Also which version och commons-logging are you 
using.

-- 
Dennis Lundberg

D Alvarado wrote:
> What property do I set so that logging messages
> will get sent to STDERR.  I read in the
> documentation that they (e.g. SimpleLog) gets
> printed to STDOUT.
> 
> Thanks - Dave
> 
> 
> Care2 make the world greener!
> Think twice before eating farmed salmon. Find out why:
> http://www.care2.com/go/z/11051/1067
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [logging] printing to stderr

Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
hi

(from looking at the code) i suspect that this is a typo in the 
documentation. is SimpleLog logging to stdout for you?

- robert

On 28 Jan 2004, at 19:38, D Alvarado wrote:

> What property do I set so that logging messages
> will get sent to STDERR.  I read in the
> documentation that they (e.g. SimpleLog) gets
> printed to STDOUT.
>
> Thanks - Dave
>
>
> Care2 make the world greener!
> Think twice before eating farmed salmon. Find out why:
> http://www.care2.com/go/z/11051/1067
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org