8

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.

Chris F
  • 14,337
  • 30
  • 94
  • 192
  • Please let me know if you find out the documentation for the same. I am also curious to find the official documentation for this. – slayedbylucifer Oct 24 '16 at 05:27

1 Answers1

5

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.

antak
  • 19,481
  • 9
  • 72
  • 80