Skip to content

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.

1 participant