[NTLUG:Discuss] dhcpcd logging
Rick Matthews
RedHat.Linux at verizon.net
Wed May 29 22:29:23 CDT 2002
I'm using dhcpcd (instead of pump) with my Verizon DSL, and I'd like to
have better logging of what is taking place.
Based on something I read somewhere, I added the following to
/etc/syslog.conf:
local0.* /var/log/dhcpcd.log
I am getting information logged to dhcpcd.log, but the only entries logged
there are a boot up. (I'm also getting font server messages logged there.)
After that I saw the -d option on the dhcpcd man page:
-d With this flag dhcpcd will syslog(LOG_DEBUG,...) messages for about
every step it does. It's recommended to use this option since it
doesn't really produce too much output but will greatly help in resolving a
problems if any.
I am now starting dhcpcd with the -d option, and it *is* producing the
level of detail that I'm looking for... but it is logging to the console
only.
Can someone tell me what I need to do to get it to log those messages to
either /var/log/messages or /var/log/dhcpcd.log?
Thanks!
Rick Matthews
More information about the Discuss
mailing list