Usually, logrotate mv the logfile to a new name like logfile.2015.07.01 and send a HUP to process to create a new file named logfile.
But the imfile in rsyslog-v8 use inotify to listen at the logfile.2015.07.01 because mv keep the inode. How to keep imfile listen file by name, or refresh the listen inode if catch a MOVE_TO event? Or, I have to configure logrotate using copy trunscate options? _______________________________________________ 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.