[slf4j-user] Why 'simple' uses standard out?

Alex Karasulu aok123 at bellsouth.net
Wed Feb 22 22:55:11 CET 2006


Ceki Gülcü wrote:

>
> Hello,
>
> If my memory serves me correctly, this issue has not been discussed 
> previously. Stdout seemed like the natural destination. Log4j's 
> console appender also outputs on stdout by default but as you mention 
> the destination can be easily changed to stderr.
>
> Do others care to comment on this choice?


Hmmm I think the choice of stream should depend on the log level.  ERROR 
should definately go to stderr while all should go to stdout.  However 
the best approach may be to leave this as a configurable parameter.  
Sounds to me this can be a religious discussion in itself.

Regards,
Alex




More information about the slf4j-user mailing list