NXLog not picking up new files in watched directory

View thread

abajosh

Hello all,

I have an application that sends log files to a directory formatted at YYYY-MM-DD.log (year, month, day). I'm watching the directory with the following stanza in the configuration file, but it does not recognize when the date changes and a new file is created. A service restart gets it reading the new file.

The configuration is as follows: <Input cvdupdate> Module im_file File "/var/log/cvdupdate/*.log" </Input>

I'm running NXLog on a Ubuntu 18.04 system. The version is 3.0.2272.