Closed fnoop closed 7 years ago
When in actual flight mode, sometimes tail -f a log can see output but later the output is not present in the file, and the file is larger size than the contents indicate. Must be corrupted file somehow, probably by loss of power.
Add sync,dirsync to fs mount options
Python logging streamhandler (which filehandler inherits) flushes after every emit. Must be down at the os/fs level.
When in actual flight mode, sometimes tail -f a log can see output but later the output is not present in the file, and the file is larger size than the contents indicate. Must be corrupted file somehow, probably by loss of power.