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/05 22:45] ispyisail |
remote_syslog [2016/02/09 18:14] (current) z3braman changed "conloglevel" to "cronloglevel" |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | I think it would be very useful if it would be possible | + | |
+ | ===== Introduction ===== | ||
+ | Setting up up syslog remote logging server is good for fault finding. | ||
+ | |||
+ | When logging connect your gargoyle router | ||
+ | |||
+ | ===== Client ===== | ||
+ | Setup your gargoyle router as a syslog client by making a SSH connection to the router and then run the following commands. | ||
+ | |||
+ | NOTE: Change the IP address to your **syslog server** | ||
+ | ==== Set IP server address ==== | ||
< | < | ||
Line 9: | 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 23: | Line 32: | ||
This will make it show everything except debugging messages. | This will make it show everything except debugging messages. | ||
+ | ===== 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 | ||
+ | http:// | ||
+ | |||
+ | Free Kiwi Syslog Server (download the free version with limited features) | ||
+ | |||
+ | Download and install | ||
+ | |||
+ | Under Setting>> | ||
+ | {{:: | ||
+ | {{: |