Logging moved from console to file