Skip to content

Default log rotation is bad #78

@mithrandi

Description

@mithrandi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions