Skip to content

Large logging file cause TimeRotate cost long time #1

@linbo

Description

@linbo

If logging file's size is 3G, and every midnight file rotated. Then it will cause long time for logging to rotate the old file. Which cause the process halt for 2 mins.

Check File, it use shutil.copy old file, why not use shutil.move?

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