@@ -597,7 +597,7 @@ - (void)_pruneEmptyStoredClusterDataBranches
597
597
}
598
598
if (!success) {
599
599
storeFailures++;
600
- MTR_LOG_INFO (" Store failed in _pruneEmptyStoredClusterDataBranches for clusterIndex (%lu) @ node 0x%016llX endpoint %u" , static_cast <unsigned long >(clusterIndexCopy.count ), nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
600
+ MTR_LOG_ERROR (" Store failed in _pruneEmptyStoredClusterDataBranches for clusterIndex (%lu) @ node 0x%016llX endpoint %u" , static_cast <unsigned long >(clusterIndexCopy.count ), nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
601
601
}
602
602
}
603
603
}
@@ -612,7 +612,7 @@ - (void)_pruneEmptyStoredClusterDataBranches
612
612
}
613
613
if (!success) {
614
614
storeFailures++;
615
- MTR_LOG_INFO (" Store failed in _pruneEmptyStoredClusterDataBranches for endpointIndex (%lu) @ node 0x%016llX" , static_cast <unsigned long >(endpointIndexCopy.count ), nodeID.unsignedLongLongValue );
615
+ MTR_LOG_ERROR (" Store failed in _pruneEmptyStoredClusterDataBranches for endpointIndex (%lu) @ node 0x%016llX" , static_cast <unsigned long >(endpointIndexCopy.count ), nodeID.unsignedLongLongValue );
616
616
}
617
617
}
618
618
}
@@ -626,7 +626,7 @@ - (void)_pruneEmptyStoredClusterDataBranches
626
626
}
627
627
if (!success) {
628
628
storeFailures++;
629
- MTR_LOG_INFO (" Store failed in _pruneEmptyStoredClusterDataBranches for nodeIndex (%lu)" , static_cast <unsigned long >(nodeIndexCopy.count ));
629
+ MTR_LOG_ERROR (" Store failed in _pruneEmptyStoredClusterDataBranches for nodeIndex (%lu)" , static_cast <unsigned long >(nodeIndexCopy.count ));
630
630
}
631
631
}
632
632
@@ -656,23 +656,23 @@ - (void)_clearStoredClusterDataForNodeID:(NSNumber *)nodeID
656
656
for (NSNumber * clusterID in clusterIndex) {
657
657
BOOL success = [self _deleteClusterDataForNodeID: nodeID endpointID: endpointID clusterID: clusterID];
658
658
if (!success) {
659
- MTR_LOG_INFO (" Delete failed for clusterData @ node 0x%016llX endpoint %u cluster 0x%08lX" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue , clusterID.unsignedLongValue );
659
+ MTR_LOG_ERROR (" Delete failed for clusterData @ node 0x%016llX endpoint %u cluster 0x%08lX" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue , clusterID.unsignedLongValue );
660
660
} else {
661
661
clusterDataCleared++;
662
662
}
663
663
}
664
664
665
665
BOOL success = [self _deleteClusterIndexForNodeID: nodeID endpointID: endpointID];
666
666
if (!success) {
667
- MTR_LOG_INFO (" Delete failed for clusterIndex @ node 0x%016llX endpoint %u" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
667
+ MTR_LOG_ERROR (" Delete failed for clusterIndex @ node 0x%016llX endpoint %u" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
668
668
} else {
669
669
endpointsCleared++;
670
670
}
671
671
}
672
672
673
673
BOOL success = [self _deleteEndpointIndexForNodeID: nodeID];
674
674
if (!success) {
675
- MTR_LOG_INFO (" Delete failed for endpointIndex @ node 0x%016llX" , nodeID.unsignedLongLongValue );
675
+ MTR_LOG_ERROR (" Delete failed for endpointIndex @ node 0x%016llX" , nodeID.unsignedLongLongValue );
676
676
}
677
677
678
678
MTR_LOG_INFO (" clearStoredClusterDataForNodeID: deleted endpoints %lu/%lu clusters %lu/%lu" , static_cast <unsigned long >(endpointsCleared), static_cast <unsigned long >(endpointsClearAttempts), static_cast <unsigned long >(clusterDataCleared), static_cast <unsigned long >(clusterDataClearAttempts));
@@ -693,7 +693,7 @@ - (void)clearStoredClusterDataForNodeID:(NSNumber *)nodeID
693
693
success = [self _deleteNodeIndex ];
694
694
}
695
695
if (!success) {
696
- MTR_LOG_INFO (" Store failed in clearStoredAttributesForNodeID for nodeIndex (%lu)" , static_cast <unsigned long >(nodeIndexCopy.count ));
696
+ MTR_LOG_ERROR (" Store failed in clearStoredAttributesForNodeID for nodeIndex (%lu)" , static_cast <unsigned long >(nodeIndexCopy.count ));
697
697
}
698
698
}
699
699
});
@@ -711,7 +711,7 @@ - (void)clearAllStoredClusterData
711
711
712
712
BOOL success = [self _deleteNodeIndex ];
713
713
if (!success) {
714
- MTR_LOG_INFO (" Delete failed for nodeIndex" );
714
+ MTR_LOG_ERROR (" Delete failed for nodeIndex" );
715
715
}
716
716
});
717
717
}
@@ -906,7 +906,7 @@ - (void)storeClusterData:(NSDictionary<MTRClusterPath *, MTRDeviceClusterData *>
906
906
BOOL storeFailed = ![self _storeClusterData: data forNodeID: nodeID endpointID: path.endpoint clusterID: path.cluster];
907
907
if (storeFailed) {
908
908
storeFailures++;
909
- MTR_LOG_INFO (" Store failed for clusterData @ node 0x%016llX endpoint %u cluster 0x%08lX" , nodeID.unsignedLongLongValue , path.endpoint .unsignedShortValue , path.cluster .unsignedLongValue );
909
+ MTR_LOG_ERROR (" Store failed for clusterData @ node 0x%016llX endpoint %u cluster 0x%08lX" , nodeID.unsignedLongLongValue , path.endpoint .unsignedShortValue , path.cluster .unsignedLongValue );
910
910
}
911
911
}
912
912
@@ -962,7 +962,7 @@ - (void)storeClusterData:(NSDictionary<MTRClusterPath *, MTRDeviceClusterData *>
962
962
BOOL storeFailed = ![self _storeClusterIndex: clusterIndexToStore forNodeID: nodeID endpointID: endpointID];
963
963
if (storeFailed) {
964
964
storeFailures++;
965
- MTR_LOG_INFO (" Store failed for clusterIndex @ node 0x%016llX endpoint %u" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
965
+ MTR_LOG_ERROR (" Store failed for clusterIndex @ node 0x%016llX endpoint %u" , nodeID.unsignedLongLongValue , endpointID.unsignedShortValue );
966
966
continue ;
967
967
}
968
968
}
@@ -977,7 +977,7 @@ - (void)storeClusterData:(NSDictionary<MTRClusterPath *, MTRDeviceClusterData *>
977
977
BOOL storeFailed = ![self _storeEndpointIndex: endpointIndexToStore forNodeID: nodeID];
978
978
if (storeFailed) {
979
979
storeFailures++;
980
- MTR_LOG_INFO (" Store failed for endpointIndex @ node 0x%016llX" , nodeID.unsignedLongLongValue );
980
+ MTR_LOG_ERROR (" Store failed for endpointIndex @ node 0x%016llX" , nodeID.unsignedLongLongValue );
981
981
}
982
982
}
983
983
}
@@ -999,7 +999,7 @@ - (void)storeClusterData:(NSDictionary<MTRClusterPath *, MTRDeviceClusterData *>
999
999
BOOL storeFailed = ![self _storeNodeIndex: nodeIndexToStore];
1000
1000
if (storeFailed) {
1001
1001
storeFailures++;
1002
- MTR_LOG_INFO (" Store failed for nodeIndex" );
1002
+ MTR_LOG_ERROR (" Store failed for nodeIndex" );
1003
1003
}
1004
1004
}
1005
1005
}
@@ -1008,7 +1008,7 @@ - (void)storeClusterData:(NSDictionary<MTRClusterPath *, MTRDeviceClusterData *>
1008
1008
BOOL storeFailed = ![self _bulkStoreAttributeCacheValues: bulkValuesToStore];
1009
1009
if (storeFailed) {
1010
1010
storeFailures++;
1011
- MTR_LOG_INFO (" Store failed for bulk values count %lu" , static_cast <unsigned long >(bulkValuesToStore.count ));
1011
+ MTR_LOG_ERROR (" Store failed for bulk values count %lu" , static_cast <unsigned long >(bulkValuesToStore.count ));
1012
1012
}
1013
1013
}
1014
1014
0 commit comments