Hello,

I am using imfile to read multiple log files in a folder using wildcards
and addMetadata="on" setting. Everything works fine and log files are being
read correctly until logrotate happens. Once logrotate runs rsyslog stops
reading log files until restarted.

Is there a way to make logrotate configuration more rsyslog friendly?

/var/log/myapp/logs/*.log {
    daily
    missingok
    rotate 7
    compress
    notifempty
    copytruncate
}

Thanks,

Alec
_______________________________________________
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