[syslog-ng]feature request

Nate Campi nate@campin.net
Thu, 6 Jun 2002 05:53:55 -0700


On Thu, Jun 06, 2002 at 09:44:44AM +0200, Balazs Scheidler wrote:
> On Wed, Jun 05, 2002 at 12:30:56PM -0700, Nate Campi wrote:
> > Can output from programs started by syslog-ng get logged by syslog-ng to
> > the logs, perhaps under the syslog facility with the program name as the
> > TAG field:

<snip>

> 
> I'll add this on my todo list. As long as it is not implemented, you might
> try to redirect the program's output to a named pipe like this:
> 
> destination d_swatch { program("swatch 2> /var/run/swatch.err"); };
> source s_swatch { pipe("/var/run/swatch.err"); };

Good workaround, I'll use it. Thanks Baszi.
-- 
An Emacs reference mug is what I want. It would hold ten gallons of
coffee. -- Steve VanDevender 
And, no doubt, have a lid that could only be removed with an obscure
finger combination requiring both hands. (Ctrl-Alt-Meta-X
gimme-the-damn-coffee) -- William Beegle