Logging is now done to file