diable loging

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Jul 26 08:06:20 UTC 2006


On Wed, Jul 26, 2006 at 09:58:39AM +0200, redhat wrote:
> i want do disable te log file this is what i'v done
> > In dhcpd.conf:
> >  log-facility local1;
> > In syslog.conf:
> >  local1.*    /dev/null
> > 
> > but there are stil log entrys in messages  if i cange .dev.null  in a 
> > file dhcp.log  logging
> > entrys  are made in messages and  dhcp.conf
> 
> You probably have another line in your syslog.conf file that has a
> disposition for the "local1" service. Something like:
> 
>     *.info;mail.none;authpriv.none;cron.none    /var/log/messages
> 
> is common. The "*.info" includes "local1" since there is no corresponding
> "local1.none" on the line.

Ad dlocal1.none to all the lines, eg:

*.info;mail.none;authpriv.none;cron.none;local1.none    /var/log/messages
                                        ^^^^^^^^^^^^
and then kill -HUP syslog's process ID.



More information about the dhcp-users mailing list