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

Kostis Anagnostopoulos ankostis at gmail.com
Thu Feb 23 19:06:03 CET 2006


Ok Ceki,

On 2/23/06, Ceki Gülcü <listid at qos.ch> wrote:
>  > 1. It doesn't collide with console apps that utilize the standard out
>  > for processing.
>
> OK. By collide you probably mean that it is possible to separate logging
> output from application output intended for USER INTERACTION. But don't
> both stderr and stdout end up on the console? It seems to me that sending
> logging output to stderr separation would avoid collisions, except if
> stderr was redirected to a file. Do you see where I am getting at?

No, i didn't have in mind console apps with output for user-interaction.

Just think of a unix command (something like 'cat' ?) that its output
can be piped to another command.
Having DEBUG or even WARN messages added to its processed input would
be simply wrong!

    ankostis



More information about the slf4j-user mailing list