|
我想让我的WRT610Nv2挂U盘后成为syslog服务器。我查了资料,BusyBox已经自带syslogd服务了,就是不知在哪里能启用它,下面是我登录到我的路由器后看到的,请问如何设置它使我的路由器能成为一个syslog服务器?谢谢了。
root@TomatoUSB:/tmp/etc# syslogd --help
BusyBox v1.21.1 (2014-01-17 22:41:29 CET) multi-call binary.
Usage: syslogd [OPTIONS]
System logging utility
(this version of syslogd ignores /etc/syslog.conf)
-n Run in foreground
-O FILE Log to FILE (default:/var/log/messages)
-l N Log only messages more urgent than prio N (1-8)
-S Smaller output
-s SIZE Max size (KB) before rotation (default:200KB, 0=off)
-b N N rotated logs to keep (default:1, max=99, 0=purge)
-R HOST[ORT] Log to IP or hostname on PORT (default PORT=514/UDP)
-L Log locally and via network (default is network only if -R)
root@TomatoUSB:/tmp/etc# |
|