Re: log to multilog instead of file
[email protected] (Paul Jarc)
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Laurent Bercot <[email protected]> wrote: > 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. But stdout and stderr are both connected to the logging pipe set up by svscan. If X does write something different to stdout, and you don't want it mixed in with your logs, then you'll have to redirect stdout separately. exec 2>&1 exec 1>... paul