diable loging
redhat
redhat at techspace.nl
Wed Jul 26 10:17:07 UTC 2006
Glenn Satchell schreef:
> 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.
>
>
>
>
that's it many thanks.
--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door Dark Eagel mail scanner en lijkt schoon te zijn.
More information about the dhcp-users
mailing list