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

log.file.rotation.count does not have option for 'infinity' (do not delete old logs) #527

Open
ducttapecoder-vt opened this issue Jun 26, 2020 · 0 comments

Comments

@ducttapecoder-vt
Copy link

I'm using RabbitMQ and ideally, I would like to rollover but not technically rotate my logs.
I've configured log.file.rotation.date and log.file.rotation.sizebut no value oflog.file.rotation.countachieves the desired result. Omittinglog.file.rotation.countleaves the default value of 5. Per the main Readme, setting 0 will leave no archived files at all. I tried setting to-1` which did not yield an error but presumably will not achieve what I want either (it's not documented at least).

So I guess this is a feature request. Well, two:

  1. Please add an option to allow rollover without rotation of logs.
  2. Please add an option for time based rotation to append the timestamp to the rotated log file. If this is already possible with log.file.name, please add it to documentation.
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

1 participant