Problem getting Bind to log debug messages.

peace bwitchu peacebwitchu at yahoo.com
Thu Jun 17 18:47:12 UTC 2004


That is how I invoke debug.  But I never getting any
debug messages just info level.


Peace


--- Robert Lowe <Robert.H.Lowe at lawrence.edu> wrote:
> peace bwitchu wrote:
> 
> > I am having problems getting bind to log any debug
> > messages.  The only thing it logs at is info
> level. 
> > Here is mmy config for logging.  I'm running
> bind9.2.3
> > and using the chroot funtion in bind.
> 
> Try 'rndc trace [<level>]'.
> 
> -Robert
> 
> >   logging {
> >         channel "client_log" {
> >                 file "/var/namedlogs/named.client"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "my_channel" {
> >                 file "/var/namedlogs/named.mychan"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 severity debug 3;
> >                 } ;
> >         channel "cname_log" {
> >                 file
> "/var/namedlogs/named.cnamelog"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "config_log" {
> >                 file "/var/namedlogs/named.config"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "database_log" {
> >                 file
> "/var/namedlogs/named.database"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "default_log" {
> >                 file "/var/namedlogs/named.run"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 severity dynamic;
> >                 } ;
> >         channel "dispatch_log" {
> >                 file
> "/var/namedlogs/named.dispatch"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "dnssec_log" {
> >                 file "/var/namedlogs/named.dnssec"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "general_log" {
> >                 file
> "/var/namedlogs/named.general"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "lame-servers_log" {
> >                 file
> "/var/namedlogs/named.lamerslog"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "load_log" {
> >                 file "/var/namedlogs/named.load"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "network_log" {
> >                 file
> "/var/namedlogs/named.network"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "notify_log" {
> >                 file "/var/namedlogs/named.notify"
> > versions 2 size 100m;
> >                 print-category yes;
> >  print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "query_log" {
> >                 file "/var/namedlogs/named.qlog"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "resolver_log" {
> >                 file
> "/var/namedlogs/named.resover"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "security_log" {
> >                 file
> "/var/namedlogs/named.security"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "unmatched_log" {
> >                 file
> "/var/namedlogs/named.unmatched"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "update_log" {
> >                 file "/var/namedlogs/named.update"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "xfer-in_log" {
> >                 file
> "/var/namedlogs/named.xfer-in"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         channel "xfer-out_log" {
> >                 file
> "/var/namedlogs/named.xfer-out"
> > versions 2 size 100m;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 } ;
> >         category "client" {
> >                 "client_log" ;
> >                 } ;
> >         category "config" {
> >                 "config_log" ;
> >                 } ;
> >         category "database" {
> >                 "database_log" ;
> >                 } ;
> >         category "default" {
> >                 default_log; my_channel;
> >                 } ;
> >         category "dispatch" {
> >                 "dispatch_log" ;
> >                 } ;
> >         category "dnssec" {
> >                 "dnssec_log" ;
> >                 } ;
> >         category "general" {
> >                 "general_log" ;
> >                 } ;
> >         category "lame-servers" {
> > #               "lame-servers_log" ;
> >                 null;
> >                 } ;
> >         category "network" {
> >                 "network_log" ;
> >                 } ;
> >         category "notify" {
> >                 "notify_log" ;
> >                 } ;
> >         category "queries" {
> >                 query_log; my_channel;
> >                 } ;
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 


More information about the bind-users mailing list