new logger and new datetime