Logging now works in a daily log file that is created using moment