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

Persist logs on terminate if appropriate. #184

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

taun-fellowes
Copy link

@taun-fellowes taun-fellowes commented Sep 11, 2024

If the logs are being persisted periodically, then it would also be useful if they are persisted as part of a terminate event to avoid losing logs to a Nerves.Runtime.reboot/0.

@fhunleth
Copy link
Member

Hi @taun-fellowes! Thanks for the PR. It makes sense to me.

Would it be possible to add a small unit test?

Also, don't worry about CI failures on Elixir 1.11 or 1.12. I need to make a pass at updating this project for Elixir 1.17. I assume it will be a trivial update since I know Elixir 1.17 works fine, but a side effect will removing support for those older versions.

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.

2 participants