Logging exception to file. Timer debug.