utils.SetupLogging: Return function to reopen log file