adafruit / adafruit/Adafruit_CircuitPython_Logging

Writing to a file when flash is full.

Open
#55 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.