On 07/28/2015 03:20 PM, Gregory Edigarov wrote:
On 07/28/2015 02:41 PM, Atanas Vladimirov wrote:
Hi,
I tried the new feature of syslogd to collect log messages from other syslog capable devices (in this case an OpenWRT router).
I red syslog.conf many times, but I can't figure it why it doesn't work.

[ns]~$ cat /etc/syslog.conf
#       $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
#

+wdr4900.bsdbg.net
*.* /var/log/w4900
move the above 2 lines to the end of your file.
remove next line:
+*

next,  add

192.168.1.18 wdr4900
to /etc/hosts

also, change the syslog rule as:
+ wdr4900
*.*         /var/log/w4900

and things will work

Reply via email to