Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

after i've tried to understand how syslog is working in ubuntu i found out that the package that exist is sysklogd (syslogd & klogd combination).

what I want to do is to get my router messages (which i've succeed in) but to a separate file. I saw that it is possible through rsyslog with ruleset.

how is it possible to do it by sysklogd?

share|improve this question
up vote 0 down vote accepted

I don't believe the functionality is available. Looking at my 12.04 virtual servers it looks like rsyslogd has replaced sysklogd as the default logger. I replaced it earlier on my server because I wanted the additional filtering available in rsyslogd.

Standard syslog filtering is done on facility and priority. Neither of these is host specific. If it is possible to specify the facility your router logs as, you could use an unused local facility to fake the separation you are looking for.

share|improve this answer
now i see that in my laptop i have rsyslog and not sysklogd. but how do i replace sysklogd? just to install rsyslog and remove sysklogd? does rsyslog have the ability of klogd and log kernel messages as well? – idgar Jun 23 '12 at 6:53
@idgar I checked the documentation and it is a dropin replacement for sysklogd from which it is derived. Just run apt-get install rsyslog and you should be up and running. – BillThor Jun 23 '12 at 19:03

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.