Trying to get logging to write to file