Enabling file logging with date display