logging to a pipe?

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Aug 26 12:19:26 UTC 2004


On Thu, Aug 26, 2004 at 11:48:27AM +0200,
 Marten Lehmann <lehmann at cnm.de> wrote 
 a message of 17 lines which said:

> in the logging definition for a channel I found only syslog and file. 
> With the file-option, I was hoping that it would log to a script when using
> 
> file "|/var/tmp/logger.pl";

I may be stupid but why not logging to a FIFO and have another process
read it?

Shell:
 
mkfifo /var/somewhere/bindlogshere

BIND:

file "/var/somewhere/bindlogshere";

Program:

open("/var/somewhere/bindlogshere");
while... read...



More information about the bind-users mailing list