Yes, exactly.
Sent from phone, thus brief. -------- Ursprüngliche Nachricht -------- Von: Xavier Fustero <[email protected]> Datum: An: rsyslog-users <[email protected]> Betreff: Re: [rsyslog] imfile suffers from rotation? Hi Rainer, let me being more precise with my problem. I would like to have a rsyslog forwarding files to a remote application on specific port. These logs will be read from a local file using imfile. The problem is this remote application can be stopped or busy and might not be ready to accept logs for a while. In this scenario my concern is what happens if this local file is rotated and later on the application is ready to accept logs again. >From your answer I understand that this is not a problem as the imfile module keeps track of the inode. That is a good new. So there is only a problem if rsyslog stops and then it gets rotated. Thanks, Xavi On 30 January 2013 11:53, Rainer Gerhards <[email protected]> wrote: > > > > -----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. > _______________________________________________ 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.

