It might depend on which input mode is being used, inotify (the default for the 
new method of loading the module) or polling (the default for old method of 
loading the module).  I would think either would work after the scenario 
described is repaired, but the experts will know for sure.

Regards,

> On Mar 8, 2021, at 07:31, Andreas Hasenack via rsyslog 
> <[email protected]> wrote:
> 
> Hi,
> 
> I have a config statement using imfile to read a log file produced by a
> daemon. When rsyslog starts up, all is fine.
> 
> But there was a bad cronjob that would break the permissions of several
> files, including this one rsyslog is reading. It's still fine if that
> happens after rsyslog started, but eventually that log will be rotated and
> then rsyslog can't read the new file due to the permission problem.
> 
> Question is, if the permissions are fixed after rsyslog encountered that
> error, will rsyslog eventually retry reading the file? Or does it need to
> be restarted?
> _______________________________________________
> 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