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

Default log rotation is bad #78

Open
mithrandi opened this issue Apr 26, 2017 · 0 comments
Open

Default log rotation is bad #78

mithrandi opened this issue Apr 26, 2017 · 0 comments
Labels

Comments

@mithrandi
Copy link
Contributor

The default logging settings for axiomatic.log (as well as Mantissa's http.log, see twisted/mantissa#63) are unbounded, and use ordinal rotation; this means that rotation cost scales linearly with the number of historic log files, and this number is unbounded, resulting in your process eventually blocking for minutes at a time renaming tens of thousands of files every time a new log file is started. This is not ideal, and also not obvious to debug.

@mithrandi mithrandi added the bug label Apr 26, 2017
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

1 participant