add time for logger