Backup com.apple.syslogd.plist
sudo cp /System/Library/LaunchDaemons/com.apple.syslogd.plist /tmp/com.apple.syslogd.plist
|
Convert com.apple.syslogd.plist to XML and edit it
sudo plutil -convert xml1 /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo vim /System/Library/LaunchDaemons/com.apple.syslogd.plist
|
Add this to the "Sockets" section:
<key>NetworkListener</key>
<dict>
<key>SockServiceName</key>
<string>syslog</string>
<key>SockType</key>
<string>dgram</string>
</dict>
|
And restart the syslog daemon
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plistp
|