logging directly into a file

Barry Margolin barmar at genuity.net
Fri Jun 23 15:05:28 UTC 2000


In article <22CF090CD80ED41189CE00E018C23A000ED53F at amonra.petrel.ch>,
Julien Mabillard  <jum at cw.span.ch> wrote:
>Hello,
>I use bind 8.2.2P5 on my nameservers. I would like to log everything into a
>file without using syslog. In my named.conf I write this :
>
>logging {
>  channel toto {
>    file "log.named";
>    severity info;
>    print-category yes;
>    print-severity yes;
>  };
>  category panic { toto };

You're missing a ';' after 'toto' in the above line.

>};
>
>
>Well, I get debug info into logfile, but what I want in this logfile is the
>important messages such as a reboot, syntax errors detected, or zone removed
>or added (which usually go into syslog).
>
>Anybody has an idea of how to proceed ?

Add:

   category default { toto; default_debug; };

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list