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

rotate the file at 10mb instead of by date #1871

Merged
merged 1 commit into from
Oct 29, 2019

Conversation

beckjake
Copy link
Contributor

Fixes #1863
Fixes #1865

I'm pretty confident both these issues are caused by odd interactions between mtime and time zones. Fix them by rotating the file at 10mb instead of by date, avoiding any issues along these lines.

One can imagine making this configurable in UserConfig, but for now everyone gets 5x 10mb logs.

@cla-bot cla-bot bot added the cla:yes label Oct 28, 2019
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@beckjake beckjake merged commit 76dc41b into dev/louisa-may-alcott Oct 29, 2019
@beckjake beckjake deleted the fix/log-rotation branch October 29, 2019 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dbt reporting FileExistsError [WinError 183] Log File Not Rotating/More than 7 days of data
2 participants