Copied to clipboard

rsyslogd

rsyslogd is a system log daemon that can be used to collect, process, and forward log messages.
Unsupported type: string/check
Unsupported type: string/check

Example

  • Specify the path to the configuration file
rsyslogd -c /etc/rsyslog.conf
  • Run in foreground mode
rsyslogd -f
  • Specify the path to save the log file
rsyslogd -a /var/log/messages
  • Ignore HUP signal
rsyslogd -i
  • Disable DNS resolution
rsyslogd -n
  • Specify the path to the socket file
rsyslogd -s /var/run/rsyslogd.sock
  • Print logs in debug mode
rsyslogd -x