diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index fe4ef23bfad23a..b8ac46c3004b47 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -855,6 +855,9 @@ - (void)setExpectedValues:(NSArray *> *)values expe // since NSTimeInterval is in seconds, convert ms into seconds in double NSDate * expirationTime = [NSDate dateWithTimeIntervalSinceNow:expectedValueInterval.doubleValue / 1000]; + MTR_LOG_INFO( + "Setting expected values %@ with expiration time %f seconds from now", values, [expirationTime timeIntervalSinceNow]); + os_unfair_lock_lock(&self->_lock); // _getAttributesToReportWithNewExpectedValues will log attribute paths reported