Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore logrotate lines #8

Closed
copy opened this issue Mar 22, 2021 · 2 comments
Closed

Ignore logrotate lines #8

copy opened this issue Mar 22, 2021 · 2 comments

Comments

@copy
Copy link

copy commented Mar 22, 2021

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 Canop closed this as completed in b0f2310 Mar 23, 2021
@Canop
Copy link
Owner

Canop commented Mar 23, 2021

I only tested with your log line, not with a real logrotated log. Can you please confirm it's OK now ?

@copy
Copy link
Author

copy commented Mar 23, 2021

Yeah, it works now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants