I tried to move my stuff from CentOS to Ubuntu. Here is a problem I met: I would like find the corresponding CentOS /etc/syslog.conf file in Ubuntu? Basically, the file is used to control where those syslog files go?


Ubuntu uses rsyslog, config files are rsyslog.conf and /etc/rsyslog.d/*

  • 1
    rsyslog.conf in /etc folder (/etc/rsyslog.conf)
    – M2E67
    Nov 10 '18 at 7:57
  • Is it the same file as syslogd.conf just without the same name?
    – Roi
    Sep 25 '20 at 21:33

Minor addition:

Ubuntu uses rsyslog.conf (5) configuration file and the daemon is rsyslogd (8) is a rocket-fast system for log processing.

Rsyslog.conf is backward-compatible with syslogd's syslog.conf file. So if you migrate from syslogd you can rename it and it should work.

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.