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

Add truncate option #9

Merged
merged 1 commit into from
Dec 27, 2021
Merged

Add truncate option #9

merged 1 commit into from
Dec 27, 2021

Conversation

cesargb
Copy link
Owner

@cesargb cesargb commented Dec 24, 2021

Truncate the original log file in place after creating a copy, instead of moving the old log file.It can be used when some program cannot be told to close its logfile and thus might continue writing (appending) to the previous log file forever.

@cesargb cesargb merged commit d9a72a0 into master Dec 27, 2021
@cesargb cesargb deleted the truncate branch January 25, 2022 21:59
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

Successfully merging this pull request may close these issues.

None yet

1 participant