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.

  • Did you restart rsyslog? – goldilocks Mar 7 '13 at 21:22
up vote 1 down vote accepted

Fix the following statements:

$ModLoad imudp
$UDPServerRun 514

Note the $ at the beginning.

  • Fine, question SOLVED after i get variables corrected. – Yurij73 Mar 8 '13 at 11:53

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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