Re: log to multilog instead of file
Laurent Bercot <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
> Ok, this works great. I use /dev/stderr which is a symlink to > /proc/self/fd/2. Just a question: why not use /dev/stdout instead of > stderr? Because X might use stdout for other purposes, and you might get pieces of regular output (which you actually don't want redirected to multilog's input) mixed with your log lines. stderr is the right place to write logs - that's where you usually get error and warning messages, which are precisely what you want to log. -- Ska