Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer
Fine, question SOLVED after i get variables corrected. – Yurij73 Mar 8 '13 at 11:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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