Debu messages in ISC???
Gerald Vogt
vogt at spamcop.net
Thu Mar 29 13:57:45 UTC 2012
On 29.03.2012 15:42, ameen.shajahan at wipro.com wrote:
> Hi Edward,
>
> I have DHCP conf file(dhcpd.conf) in /etc/ path with
> log-facility local7; option enabled.
>
> And i have run the dhcp server as mentioned below
>
> ./dhcpd -4 –cf /etc/dhcpd.conf –lf /var/db/dhcpd.leases eth0 (with no
> –d option).So it write all the debug messages to /var/log/messages.
>
> But i need the debug messages tp print in separate file called
> /var/log/dhcpd.log.
>
> So i have done some change in /etc/syslog.conf file with local7.*
> /var/log/dhcpd.log
>
> But still dhcp server writing the debug messages to /var/log/messages.
Did you restart the syslog server after changing syslog.conf?
And remember, unless you add a "local7.none" to the log line for
/var/log/messages everything will also be logged into /var/log/messages.
Gerald
More information about the dhcp-users
mailing list