-----Original Message----- From: Shawn Bakhtiar <shashan...@hotmail.com> Date: Wednesday, July 3, 2013 12:15 PM To: "bind-us...@isc.org" <bind-us...@isc.org> Subject: RE: configure syslog prefix
>hhhmmm.... > >I have not run multiple binds on the same box, but according to the man >pages for named.conf (assuming you have a different configuration file >for each instance) setup each to report to a different logging facility >ie: > >in named.conf: >.... > >logging { > channel default_syslog { > syslog local7; > severity info; > }; > >... > > >and in /etc/rsyslog.conf > ># Save named messages firstnamedinstance.log >local7.* >/var/log/firstnamedinstance.log > >(If you have logrotate installed)....You may also want to add a file in >/etc/logrotate.d with the following info: > >/var/log/firstnamedinstance.log { > sharedscripts > postrotate > /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> >/dev/null || true > endscript >} Good call, and if you're running rsyslog go to rsyslog.conf/doc and read about templates... You can rewrite anything to your heart's content with a little effort. _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users