Content-Length: 248502 | pFad | http://github.com/adafruit/Adafruit_CircuitPython_Logging/issues/55

22 Writing to a file when flash is full. · Issue #55 · adafruit/Adafruit_CircuitPython_Logging · GitHub
Skip to content

Writing to a file when flash is full. #55

Open
@ilikecake

Description

@ilikecake

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/adafruit/Adafruit_CircuitPython_Logging/issues/55

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy