Instead of writing log errors to stderr, write them to a file in the state directory. When reporting a health check failure, include the path to the file and the last several lines.
Log files are named by date, and the last 7 days are kept.
Closes#106