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?
    – goldilocks
    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.
    – Yurij73
    Mar 8, 2013 at 11:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.