THIS DOESN’T WORK. Logs get confused (logging stops). Haven’t figured out a way to make it *really* work on Leopard.
Receive syslog info from router on iMac (Leopard)
Posted: Nov 28, 2007 6:51 AM in response to: YamaLuha
Solved
To enable your Leopard system to receive network syslog submissions edit /System/Library/LaunchDaemons/com.apple.syslogd.plist and uncomment the lines specified in the comments so that the end of the file looks something like this.
<key>NetworkListener</key>
<dict>
<key>SockServiceName</key>
<string>syslog</string>
<key>SockType</key>
<string>dgram</string>
</dict>
NB – the NetworkListener is part of the Socket dict entry!!!
Then execute the following commands (wait a few seconds between commands):
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
That is enough to get an apple base station to dump it’s log into the system log.
One reply on “Receive syslog log info from router on iMac (Leopard)”
Logging stops whenever the system’s daily, weekly, or monthly periodic maintenance scripts are run. This article explains how to set up a /etc/daily.local script to re-enable logging: http://www.mactech.com/articles/mactech/Vol.21/21.09/TipsNTidbits/index.html
Note that the article doesn’t go quite far enough; you’ll also need to create /etc/weekly.local and /etc/monthly.local with the same contents.