Multiple include.conf files cause a Warning in logs in version 5
We recently upgraded our NXlog agents to version 5*, and have noticed the following warning in the logs on some servers:
2023-05-16 08:03:32 WARNING [CORE|main] not starting unused module logfile_IMAP42023-05-16 08:03:32 WARNING [CORE|main] not starting unused module logfile_POP3…
We figured out that this happens when we have more then one _include.conf file on top of the main nxlog.conf file. It seems that it reads one of them, and then spews out this warning for all the modules/inputs in the other include.conf files. This is a new behavior. We use the following syntax at the bottom of the main nxlog.conf file:
include C:\\Program Files\\nxlog\\conf\\*_include.conf
It used to work till the upgrade to version 5. Anyone else has this issue?
Could you please run the following in a cmd prompt to check if the config syntax is fine?
“C:\Program Files\nxlog\nxlog.exe” -v
nxlog.conf template in EEv5.* already has a line which would include any .conf files inside the
include %CONFDIR%/*.conf (line #21)
Any chance your additional include is creating a conflict?