> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Xavier Fustero
> Sent: Wednesday, January 30, 2013 11:41 AM
> To: rsyslog-users
> Subject: [rsyslog] imfile suffers from rotation?
> 
> Hey,
> 
> I haven't tested yet, it is on my TODO list but it will be good to do some
> research in parallel. I am sending some logs using the imfile module. I am
> wondering what will happen if the target server is down and logrotation
> rotates any of these files. Do we lose the track of it?  Because the
> $InputFileStateFile will be pointing to the rotated file which has been
> renamed.

I think there still is an issue in the bug tracker if rsyslog is stopped during 
rotation. If the file is rotated while rsyslog is running, that should be no 
problem. It tracks the inode number (but think it does not persist that number 
to the state file).

Rainer
> 
> Thanks a log,
> Xavi
> _______________________________________________
> rsyslog mailing list
> http://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
http://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