[CentOS] dhcpd logging to dhcpd.log only

Dan Carl danc at bluestarshows.com
Tue Sep 22 16:28:08 UTC 2009


Jim Perrin wrote:
> On Tue, Sep 22, 2009 at 11:33 AM, Dan Carl <danc at bluestarshows.com> wrote:
>   
>> I've added this to my dhcpd.conf
>> log-facility local6;
>> and
>> added this to my syslog.conf
>> local6.*       /var/log/dhcpd.log
>>
>> It's still writing to dhcpd info to both log files.
>> How do I stop this.
>>     
> Add local6.none to the /var/log/messages line in syslog.conf
>
> Should look similar to this ->
> *.info;mail.none;authpriv.none;cron.none;local6.none
> /var/log/messages
>
>   
Thanks that did it.
Dan




More information about the CentOS mailing list