Describe the bug
On each run of checkrr it truncates the log file and starts from scratch. This means that in the event of an error there is no record of what happened unless you happen to be tailing the log file at the time it happens.
To Reproduce
Steps to reproduce the behavior:
- Run checkrr
- Tail the log file
- Restart checkrr
- See the message
tail: checkrr.log: file truncated
Expected behavior
Logs should persist a restart of checkrr. The log file should be opened in append, not create.
Desktop (please complete the following information):
- OS: MacOS, Linux
- Browser: N/A
- checkrr Version: 3.4.0
Additional context
Another option would be to rotate the log file if it exists, but that might be harder to manage in the log run for the user.
Describe the bug
On each run of checkrr it truncates the log file and starts from scratch. This means that in the event of an error there is no record of what happened unless you happen to be tailing the log file at the time it happens.
To Reproduce
Steps to reproduce the behavior:
tail: checkrr.log: file truncatedExpected behavior
Logs should persist a restart of checkrr. The log file should be opened in append, not create.
Desktop (please complete the following information):
Additional context
Another option would be to rotate the log file if it exists, but that might be harder to manage in the log run for the user.