Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #81224
| Newsgroups | comp.sys.mac.system |
|---|---|
| Date | 2015-09-30 18:54 -0700 |
| Message-ID | <d468b102-1cd3-402e-9467-2dd2e512bd5b@googlegroups.com> (permalink) |
| Subject | Yosemite with ISC's DHCP daemon |
| From | Jack Shown <jackshown@gmail.com> |
I erased the internal disk on a recent Mac mini and installed OS X 10.10.5 and then downloaded ISC's DHCPd and installed it. I pulled the dhcpd.conf file from the Time Machine backup and everything is working fine. Except for one thing. In older OSes, one enabled logging (to /var/log/dhcpd.log) by modifying the site.h and /etc/syslog.conf as in: # cd /usr/local/dhcp-4.2.3-P1/includes # cp -p site.h site.h.orig # vi site.h # diff site.h site.h.orig 187,188d186 < #define DHCPD_LOG_FACILITY LOG_LOCAL4 # cd /etc # cp -p syslog.conf syslog.conf.apple-original # vi syslog.conf # /bin/diff syslog.conf syslog.conf.apple-original 20d19 < local4.debug /var/log/dhcpd.log # touch /var/log/dhcpd.log That was simple and it always worked without issues. However, in Yosemite, the syslog.conf file looks like this: # Note that flat file logs are now configured in /etc/asl.conf install.* @127.0.0.1:32376 and the asl.conf file looks like: ## # configuration file for syslogd and aslmanager ## # authpriv messages are root/admin readable ? [= Facility authpriv] access 0 80 # remoteauth critical, alert, and emergency messages are root/admin readable ? [= Facility remoteauth] [<= Level critical] access 0 80 # broadcast emergency messages ? [= Level emergency] broadcast # save kernel [PID 0] and launchd [PID 1] messages ? [<= PID 1] store # ignore "internal" facility ? [= Facility internal] ignore # save everything from emergency to notice ? [<= Level notice] store # Rules for /var/log/system.log > system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M ? [= Sender kernel] file system.log ? [<= Level notice] file system.log ? [= Facility auth] [<= Level info] file system.log ? [= Facility authpriv] [<= Level info] file system.log # Facility com.apple.alf.logging gets saved in appfirewall.log ? [= Facility com.apple.alf.logging] file appfirewall.log file_max=5M all_max=50M I googled for information on this but could find nothing to assist me. Has anyone encountered this and can anyone point me to a website that explains how to configure logging to /var/log/dhcpd.log in Yosemite? Thanks a bunch. Jack
Back to comp.sys.mac.system | Previous | Next | Find similar
Yosemite with ISC's DHCP daemon Jack Shown <jackshown@gmail.com> - 2015-09-30 18:54 -0700
csiph-web