Skip to content

Writing to a file when flash is full. #55

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

Open
ilikecake opened this issue Apr 28, 2024 · 1 comment
Open

Writing to a file when flash is full. #55

ilikecake opened this issue Apr 28, 2024 · 1 comment

Comments

@ilikecake
Copy link
Contributor

This may be beyond the scope of this library, but it appears that if you use the FileHandler, if the flash drive is full, the code will crash with an OSError: [Errno 28] No space left on device. I am considering the case where you have a bunch of messages being logged and you fill up the flash space completely. Should this error be handled by the logger?

@ilikecake
Copy link
Contributor Author

I added a log rotation feature to the file handler: #56

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

No branches or pull requests

1 participant