Changes between Version 3 and Version 4 of TipAndDoc/network/dhcpd
- Timestamp:
- Jul 4, 2009 2:23:30 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TipAndDoc/network/dhcpd
v3 v4 9 9 == logging == 10 10 * log-facility でsyslogへのログ出力を変更できる 11 * Ubuntu:/etc/dhcp3/dhcpd.conf 11 12 {{{ 12 13 # Use this to send dhcp log messages to a different log file (you also … … 17 18 {{{ 18 19 local7.* -/var/log/dhcpd.log 20 }}} 21 22 * CentOSでは、local7はデフォルトでbootログ用に使われているようなので、変えた方が良いかもしれない。 23 * /etc/syslog.conf 24 {{{ 25 # Save boot messages also to boot.log 26 local7.* /var/log/boot.log 27 }}} 28 * /var/log/boot.log 29 {{{ 30 Jul 1 16:43:03 VM-centos5 NET[3471]: /sbin/dhclient-script : updated /etc/resolv.conf 31 Jul 1 16:43:08 VM-centos5 NET[3562]: /sbin/dhclient-script : updated /etc/resolv.conf 32 Jul 1 16:47:13 VM-centos5 NET[3692]: /sbin/dhclient-script : updated /etc/resolv.conf 33 (snip) 19 34 }}} 20 35