I have several configuration files in /etc/rsyslog.d, e.g., 01-templates.conf, 02-error-logs.conf, 03-system-logs.conf, and have the following line in my /etc/rsyslog.conf file
# Include all config files in /etc/rsyslog.d/
$IncludeConfig /etc/rsyslog.d/*.conf
What order do the /etc/rsyslog.d/*.conf files get loaded in? Where is this documented? I read the Rsyslog configuration page but did not see it.
The /etc/syslog. conf and /etc/rsyslog. conf files are used to control the output of the syslogd daemon log files, which Cluster Aware AIX uses to log the debug information and PowerHA® SystemMirror® uses to log the non-critical information. During the installation process, PowerHA SystemMirror reads the subsystem.
Rsyslog is a powerful, secure and high-performance log processing system which accepts data from different types of source (systems/applications) and outputs it into multiple formats. It has evolved from a regular syslog daemon to a fully-featured, enterprise level logging system.
Rsyslogd is a system utility providing support for message logging. Support of both internet and unix domain sockets enables this utility to support both local and remote logging.
rsyslog is the default logging program in Debian and Red Hat. It is an extension of the original syslog protocol, with additional features such as flexible configuration, rich filtering capabilities and content-based filtering.
According to this and this post to the rsyslog-users mailing list, it's processed in alphabetical order.
But with the exception of some 7.2.x and 7.3.x versions where a bug caused them to be read in reverse order.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With