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

Kostis Anagnostopoulos ankostis at gmail.com
Thu Feb 23 19:10:02 CET 2006


On 2/23/06, Trustin Lee <trustin at gmail.com> wrote:
> 'simple' is simple because it is only useful for limited situation.  I
> always have considered it as a temporary provider which is useful only for
> trivial cases (e.g. unit testing).  Using 'nlog4j' is the right choice if a
> user requires something more than stdout.
>
> Writing messages to stdout and stderr by their level is a bad idea because
> it can mess up the message order in IDE console (e.g. Eclipse).  So I think
> we have to retain the current behavior.

I agree!
Having a complex behavior is the opposite to simple!

But, it should send all messages to stderr for the reason i mentioned
earlier (ie, for commands piping input to output, etc).

    ankostis



More information about the slf4j-user mailing list