Logging "all"
Chris Buxton
cbuxton at menandmice.com
Mon Sep 18 21:50:05 UTC 2006
This should do the job:
logging {
channel syslog {
syslog named;
severity dynamic;
};
category default { syslog; };
};
This will allow you to use 'rndc trace' or 'rndc trace N' (where N is
a debug level, such as 1 or 5) to change the amount of debugging
information you want it to log. By default, the threshold will be
debug 0 (which is equivalent to 'info').
It also allows you to use the configuration of syslogd to control how
and where to put messages from named, since it's using a unique
facility name. You can change "syslog named" to "syslog daemon" to
make this more standard.
Using the default category and nothing else means everything will be
logged except queries, which can be turned on using options
substatement 'querylog', or using the command 'rndc querylog'.
Chris Buxton
Men & Mice
Take control of your network
On Sep 18, 2006, at 8:30 AM, Gregory Machin wrote:
> Hi
> How do I get full logging .. to a single log file ?
> I can see how to log seperate suff but not a one off option to just
> log
> everything..
> And sugestions on loging this data to syslog-ng ?
> Many thanks
>
> --
> Gregory Machin
> gregory.machin at gmail.com
> www.linuxpro.co.za
>
>
>
>
More information about the bind-users
mailing list