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 log rotate support for dumper files #2876

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Add log rotate support for dumper files #2876

merged 1 commit into from
Mar 26, 2024

Conversation

zuckschwerdt
Copy link
Collaborator

@zuckschwerdt zuckschwerdt commented Mar 14, 2024

Adds basic log rotate support, i.e. reopening renamed files for dumpers.

This should now work:

rtl_433 -w OOK:my.ook &
sleep 10
ls -al my*ook
mv my.ook my-old.ook
sleep 10
ls -al my*ook
fg

S.a. discussion #2874

Adding this for file outputs (e.g. json) would be more involved but should later also be implemented.

@zuckschwerdt zuckschwerdt marked this pull request as ready for review March 16, 2024 10:45
@zuckschwerdt zuckschwerdt merged commit 7da8f63 into master Mar 26, 2024
12 checks passed
@zuckschwerdt zuckschwerdt deleted the feat-reopen branch March 26, 2024 10:54
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