Skip to content

[logging.RotatingFileHandler] The RotatingFileHandler opens and closes file for each message #86

@PolarGoose

Description

@PolarGoose

Bug description
RotatingFileHandler logging handler opens and closes the log file for every message: line #61.

Proposal

  • Open the file once in the constructor.
  • Close the file only when rotation happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions