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 [2012/02/11 09:40]
ispyisail [Client]
remote_syslog [2016/02/09 18:14] (current)
z3braman changed "conloglevel" to "cronloglevel"
Line 1: Line 1:
 ====== Remote Syslog ====== ====== Remote Syslog ======
-{{INLINETOC 2 4 }}  
  
 +  
 ===== Introduction ===== ===== Introduction =====
 Setting up up syslog remote logging server is good for fault finding.  Setting up up syslog remote logging server is good for fault finding. 
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 40: Line 76:
 Free Kiwi Syslog Server (download the free version with limited features) Free Kiwi Syslog Server (download the free version with limited features)
  
-Download and install that's about it+Download and install 
  
-{{:kiwi_syslog_server_version_9.png|}}+Under Setting>>Input change to the IP address to your gargoyle router
  
 +{{::2013-09-22_10_17_33-veriton_-_remote_desktop.jpg?500|}} 
 +
 +{{:kiwi_syslog_server_version_9.png|}}
remote_syslog.1328953209.txt.gz · Last modified: 2012/02/11 09:40 by ispyisail