![]() |
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:
Manual compilation:
How to install on the NSLU2:
# slog:unknown:/sbin/syslogd -n klog:unknown:/sbin/klogd -n
#!/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. Understanding syslogd.conf:See this HP syslogd website for the basics of using syslogd. You probably want something like this: *.info /var/log/syslogd.log
Question ?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).
view ·
edit ·
print ·
history ·
Last edited by caplink811.
Based on work by fcarolo, Christopher, paulhar, caplink811, and tman. Originally by caplink811. Page last modified on June 17, 2007, at 03:08 PM
|