Skip to content

Consider implementing open file caching in text_multifile_backend #142

@Lastique

Description

@Lastique

It was reported that on Windows file open and close operations are much more expensive than on other systems, e.g. Linux. This affects text_multifile_backend, which opens and closes a file on every log record.

Consider implementing a cache of the most recently used files, so that the amount of open/close operations is reduced. The cached entries should have a timeout as well, so that the file is eventually closed if it is not used for too long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions