46

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?

62

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

| improve this answer | |
  • 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? – r0ei Sep 25 at 21:33
0

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.

| improve this answer | |

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.