add time to logging