Hi, all.
        I have an error when try to use pipes with syslog to log queries
from bind. There is a very simple configuration:

/etc/namedb/named.conf:
===================CUT=======================
logging {
        channel query_log {
                syslog local3;
                severity info;
                print-category yes;
                print-time yes;
        };
        category queries { query_log; };
};
===================CUT=======================

# mkfifo /var/run/nmd.log

/etc/syslog.conf:

===================CUT=======================
local3.info           | /var/run/nmd.log
===================CUT=======================

After that I just dig something:

dig @localhost google.com

And get this errors:
syslogd: Logging subprocess s 1358 ( /var/run/nmd.log) exited with status 126.
et cetera....
When i use file instead of pipe it's logging just fine. 

Best regards,
        Nikolay Pavlov.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to