Change the way the logging writes to file