User Tools

Site Tools


remote_syslog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
remote_syslog [2013/09/21 22:24]
ispyisail [Server]
remote_syslog [2013/12/30 04:20]
barefootguru Add capturing to syslog server on OS X
Line 34: Line 34:
 ===== Server ===== ===== Server =====
  
 +==== OS X ====
 +
 +For Mavericks 10.9, and probably earlier:
 +
 +You need to edit /System/Library/LaunchDaemons/com.apple.syslogd.plist
 +
 +Look for the Sockets key and add a new section for NetworkListener:
 +
 +<code>
 +  <key>Sockets</key>
 +  <dict>
 +    […]
 +    <key>NetworkListener</key>
 +    <dict>
 +      <key>SockServiceName</key>
 +      <string>syslog</string>
 +      <key>SockType</key>
 +      <string>dgram</string>
 +    </dict>
 +  </dict>
 +</code>
 +
 +The easiest way to do this without running afoul of cached preferences is:
 +
 +<code>
 +cd /System/Library/LaunchDaemons
 +sudo /usr/libexec/PlistBuddy -c "add :Sockets:NetworkListener dict" com.apple.syslogd.plist
 +sudo /usr/libexec/PlistBuddy -c "add :Sockets:NetworkListener:SockServiceName string syslog" com.apple.syslogd.plist
 +sudo /usr/libexec/PlistBuddy -c "add :Sockets:NetworkListener:SockType string dgram" com.apple.syslogd.plist
 +sudo launchctl unload com.apple.syslogd.plist
 +sudo launchctl load com.apple.syslogd.plist
 +</code>
 +
 +Thanks http://stackoverflow.com/questions/5510563/how-to-start-syslogd-server-on-mac-to-accept-remote-logging-messages
 +
 +==== Windows ====
  
 Windows logging server Windows logging server
Line 47: Line 83:
  
 {{:kiwi_syslog_server_version_9.png|}} {{:kiwi_syslog_server_version_9.png|}}
- 
remote_syslog.txt · Last modified: 2016/02/09 18:14 by z3braman