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
Next revision
Previous revision
remote_syslog [2013/09/21 22:24]
ispyisail [Server]
remote_syslog [2016/02/09 18:14] (current)
z3braman changed "conloglevel" to "cronloglevel"
Line 25: Line 25:
  
 <shell> <shell>
-uci set system.@system[0].conloglevel=7+uci set system.@system[0].cronloglevel=7
 uci commit uci commit
 reboot reboot
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.1379802288.txt.gz · Last modified: 2013/09/21 22:24 by ispyisail