Ignore logrotate lines
copy opened this issue · 2 comments
copy commented
Some logrotates add lines when they rotate the logs. Using OpenBSD's newsyslog, for example, logs look like this:
2021-03-21T00:00:01.881Z host newsyslog[56965]: logfile turned over
[regular nginx log here]
Canop commented
I only tested with your log line, not with a real logrotated log. Can you please confirm it's OK now ?
copy commented
Yeah, it works now, thanks!