[slf4j-user] Why 'simple' uses standard out?
Ceki Gülcü
listid at qos.ch
Thu Feb 23 20:03:53 CET 2006
At 07:06 PM 2/23/2006, Kostis Anagnostopoulos wrote:
>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!
You are right. A simple command like 'cat' should not clutter the console
with log messages. But should 'cat' log at all? I'd be tempted to say that
'cat' should not output any log messages, not to stdout nor stderr.
Is the 'stdout' 'stderr' distinction really important to you or is it more
a matter of preference?
> ankostis
--
Ceki Gülcü
More information about the slf4j-user
mailing list