2

I added to rsyslog.conf a lines

ModLoad imudp
UDPServerRun 514
local0.* /var/log/dlink.log

With tcpdump I can see the packets from dlink somethimes local0 somethimes local1 even local2. Nothing appeared in /var/log/ dir. Which steps i missed to log my network device? I tried local1 local2 point to the same log file, but this didn't make the trick.

1
  • Did you restart rsyslog? Commented Mar 7, 2013 at 21:22

1 Answer 1

2

Fix the following statements:

$ModLoad imudp
$UDPServerRun 514

Note the $ at the beginning.

1
  • Fine, question SOLVED after i get variables corrected. Commented Mar 8, 2013 at 11:53

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.