Regarding Logging
rajesh.panchikarla at wipro.com
rajesh.panchikarla at wipro.com
Tue Oct 11 12:48:04 UTC 2005
Thank you for the reply.
I want to run named in the background but disable the default logging
logging {
category "unmatched" { "null"; };
category "default" { "default_syslog"; "default_debug"; };
};
Is this possible ?
Regards
Rajesh
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of Mark Andrews
Sent: Friday, October 07, 2005 5:28 AM
Cc: Barry Margolin; comp-protocols-dns-bind at isc.org
Subject: Re: Regarding Logging
>
> > In article <di2jd5$2i8f$1 at sf1.isc.org>,
<rajesh.panchikarla at wipro.com>
> > wrote:
> >
> > > Hi,
> > > I am using bind9.2.1 , I wanted to know if its possible to disable
> > > logging completely. I understand from ARM that by default named
will log
> > > through syslog facility. Is it possible to disable this logging.
> >
> > Change all the logging channels to "null".
>
> Note this will not stop *all* logging. Only that generated
after
> named.conf is parsed.
>
> Mark
To stop all logging to syslog run "named -g". This overrides
the logging clause and sends all logging to stderr. It
also keeps named in the foreground so you will need to handle
backgrounding the process yourself.
e.g.
daemon named -g
Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
More information about the bind-users
mailing list