Better instructions about running syslog-ng under Unslug and other Optware platforms is available at the syslog-ng for Optware page. There you can also find links to the original documentation for syslog_ng.
Warning:: the rest of this page is about a patched, older version of syslog for Unslung. It is strongly recommended that you use the current Optware package for syslog-ng instead of this older version.
Why should I do this?
Because the /sbin/syslogd (which is linked to /bin/busybox),
or syslogd from inetutils-1.4.2 has a bug, so it couldn't
log messages from remote machines.
Precompiled patched binary:
How to install on the NSLU2:
# slog:unknown:/sbin/syslogd -n
is this the right way? After a reflash it'll vanish?
#!/bin/sh if [ -n "`pidof syslogd`" ]; then /bin/killall syslogd 2>/dev/null fi /opt/sbin/syslogd -r -f/opt/etc/syslogd.conf
where -r enable remote logging and -f is the configuration file.
See this HP syslogd website for the basics of using syslogd. You probably want something like this:
unfortunately the GNU website doesn't appear to have any documentation, otherwise I'd have recommended that
It seems that syslogd sends DNS query to resolve IP address to hostname very often. Is there some flag to avoid this, since it generates lot of traffic (with non local DNS).