Re: log to multilog instead of file

"Clemens Fischer" <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
* 2004-05-27 Paul Jarc:

> 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>...

doesn't this mean:  "stderr writes into the same channel as stdout" (two is
dup'ed from one), and the later redirection of stdout redirects both?

  clemens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.