This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
remote_syslog [2012/01/10 21:16] ispyisail |
remote_syslog [2016/02/09 18:14] (current) z3braman changed "conloglevel" to "cronloglevel" |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | |||
+ | ===== Introduction ===== | ||
+ | Setting up up syslog remote logging server is good for fault finding. | ||
+ | |||
+ | When logging connect your gargoyle router to the logging server with an Ethernet cable for more reliable results | ||
===== Client ===== | ===== Client ===== | ||
+ | Setup your gargoyle router as a syslog client by making a SSH connection to the router and then run the following commands. | ||
- | I think it would be very useful if it would be possible to set log_ip from the webinterface. I have now set it with SSH: | + | NOTE: Change the IP address to your **syslog server** |
+ | ==== Set IP server address ==== | ||
< | < | ||
Line 10: | Line 19: | ||
</ | </ | ||
- | But I think that it could be useful for other people. | + | If the setting are " |
- | If setting log_ip all syslog messages gets sent to that IP address (where a syslog server | + | ==== Increase logging Level ==== |
- | + | Increase the type of message which are sent to the syslog server | |
- | Any idea how to increase the log level of syslog, I want everything from logread/ | + | |
< | < | ||
- | uci set system.@system[0].conloglevel=7 | + | uci set system.@system[0].cronloglevel=7 |
uci commit | uci commit | ||
reboot | reboot | ||
Line 26: | Line 34: | ||
===== Server ===== | ===== Server ===== | ||
+ | ==== OS X ==== | ||
+ | |||
+ | For Mavericks 10.9, and probably earlier: | ||
+ | |||
+ | You need to edit / | ||
+ | |||
+ | Look for the Sockets key and add a new section for NetworkListener: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | […] | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | The easiest way to do this without running afoul of cached preferences is: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | sudo / | ||
+ | sudo / | ||
+ | sudo / | ||
+ | sudo launchctl unload com.apple.syslogd.plist | ||
+ | sudo launchctl load com.apple.syslogd.plist | ||
+ | </ | ||
+ | |||
+ | Thanks http:// | ||
+ | |||
+ | ==== Windows ==== | ||
Windows logging server | Windows logging server | ||
Line 32: | 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 | + | Download and install |
- | {{: | + | Under Setting>> |
+ | {{:: | ||
+ | |||
+ | {{: |