Removed logging to file, fixed minor issue in logger