in reply to efficiently dispatching loggers for daemon

I was looking at the tcsh manual today and found something that may help!

Diagnostic output may be directed through a pipe with the standard output. Simply use the form `|&' rather than just `|'.

and

The shell cannot presently redirect diagnostic output without also redirecting standard output, but `(command > output-file) >& error-file' is often an acceptable workaround. Either output-file or error-file may be `/dev/tty' to send output to the terminal.

so it follows that you should be able to do `(command | stdoutlogger) |& errorlogger`
  • Comment on Re: efficiently dispatching loggers for daemon