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

logrotate should be optional #2764

Closed
Tracked by #5000
voelzmo opened this issue Oct 12, 2016 · 7 comments
Closed
Tracked by #5000

logrotate should be optional #2764

voelzmo opened this issue Oct 12, 2016 · 7 comments
Labels

Comments

@voelzmo
Copy link

voelzmo commented Oct 12, 2016

Opening this issue after discussion in https://discuss.elastic.co/t/how-to-disable-logrotate/62714

Following the documentation at https://www.elastic.co/guide/en/beats/packetbeat/master/configuration-logging.html1 I was looking for a way to disable logrotate. Is that even possible at all? How well would packetbeat deal with an external logrotate mechanism?

My reason is: The logfiles within my distributed system sit by convention in a specific directory. There is already logrotate.d configured for that directory, I don't want another entity manage the logs specifically for packetbeat.

@monicasarbu monicasarbu changed the title [enhancement] logrotate should be optional logrotate should be optional Oct 12, 2016
@tsg
Copy link
Contributor

tsg commented Oct 13, 2016

Is that even possible at all?

Not really. You could simulate it by setting a huge value for rotateeverybytes.

How well would packetbeat deal with an external logrotate mechanism?

Probably not well, because it doesn't reopen the file periodically.

We'd need a feature that instead of doing file rotation it would reopen the same filename again every N seconds.

@voelzmo
Copy link
Author

voelzmo commented Jan 20, 2017

Hey, just checking back on this – any further progress on prioritizing this?

@ruflin
Copy link
Contributor

ruflin commented Jan 23, 2017

@voelzmo Not yet. I think we start to tackle this as soon as we start refactoring logging in general. Can't provide any timeline here, sorry :-(

@ruflin ruflin mentioned this issue Aug 24, 2017
6 tasks
@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@C-Duv
Copy link

C-Duv commented Jul 9, 2020

Still an issue.

@botelastic botelastic bot removed the Stalled label Jul 9, 2020
@jsoriano jsoriano added the Team:Elastic-Agent Label for the Agent team label May 10, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label May 10, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@jlind23
Copy link
Collaborator

jlind23 commented Apr 1, 2022

Backlog grooming: Closing it for now until further activity, can still be reopened if needed.

@jlind23 jlind23 closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants