Switched logging to in-memory rather than logging to a file.