Re: Making syslog output pretty and smaller binaries

2016-10-07 Thread Roy Marples
On 07/10/2016 00:36, Roy Marples wrote: > On 2016-10-06 18:25, Timo Buhrmester wrote: >>>LOG_POUT - output only the formattted message to stdout >>>if pri > LOG_ERR, otherwise stderr >> Writing diagnostics to stdout sounds very wrong, I wouldn't want >> any program to do that

Re: Making syslog output pretty and smaller binaries

2016-10-07 Thread Timo Buhrmester
> what is stdout actually for then. I guess the usual distinction is that stdout gets the "proper" output of a non-sink program (e.g. for ls(1) the actual directory listing, while diagnostic information (ls: foo: Permission denied) goes to stderr for the user to look at, and to not have it creep up