Changed the logging behavior, not sure if better, but now it's simpler to log to a file if I want