itamarst / eliot

Eliot: the logging system that tells you *why* it happened
https://eliot.readthedocs.io
Apache License 2.0
1.1k stars 66 forks source link

FileDestination should throw an exception if it's given a non-writeable file #403

Closed itamarst closed 5 years ago

itamarst commented 5 years ago

It's easy to forget to open a file in write mode, and Eliot will silently swallow all resulting errors... and then two weeks later you discover you have no logs at all. So better to throw an exception on startup.