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

Large logging file cause TimeRotate cost long time #1

Open
linbo opened this issue Nov 18, 2013 · 1 comment
Open

Large logging file cause TimeRotate cost long time #1

linbo opened this issue Nov 18, 2013 · 1 comment

Comments

@linbo
Copy link

linbo commented Nov 18, 2013

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?

@zhangqunshi
Copy link

is this fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants