logging to a pipe?
Marten Lehmann
lehmann at cnm.de
Sat Aug 28 17:07:45 UTC 2004
Hello,
> That is the option I have running successfully on several nameservers to
> give usage data
>
> log to stderr and then
> named 2>&1 | /path/logprocessor.pl
yes, the same way I'm doing this in the meantime. But remember to start
named with "-f", otherwise there's no stderr-output. Btw.: I heard from
some experienced c-programmer, that the pipe-option in logging isn't
that hard, it should be no more than a popen() instead of a fopen().
Maybe somehas has some time a extend the logging-channels with a
pipe-option? It would be very useful.
Regards
Marten
More information about the bind-users
mailing list