In short: should work

For quite some time, mode triggers a unified state engine, which checks
files and handles changes. With notify, we just detect changes quicker.
This was also implemented that way because, by doc, inotify is not 100%
exact.

Let is know if there are any issues, though.

Hth
Rainer

Sent from phone, thus brief.

John Chivian via rsyslog <[email protected]> schrieb am Di., 26.
Aug. 2025, 22:02:

> I have an rsyslog instance on a Linux server that uses imfile to read log
> files from a remote CIFS mount.
>
> I discovered that the remote CIFS mount does not support mode=inotify, so
> mode=“polling” and pollinginterval=“60” are used when the imfile module is
> loaded.
>
> I would also like to include deleteStateOnFileMove=“on” but given the lack
> of inotify support I’m not sure it will work.
>
> Can someone confirm whether or not the deleteStateOnFileMove parameter
> requires inotify kernel support?   Will it work in polling mode?
>
> Thanks,
>
> _______________________________________________
> rsyslog mailing list
> https://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to