Skip to content

Commit b51e459

Browse files
Log only keys of custom signals.
1 parent c2d859d commit b51e459

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

FirebaseRemoteConfig/Sources/FIRRemoteConfig.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ - (void)setCustomSignals:(nonnull NSDictionary<NSString *, NSObject *> *)customS
330330
if (![newCustomSignals isEqualToDictionary:self->_settings.customSignals]) {
331331
self->_settings.customSignals = newCustomSignals;
332332
}
333-
// Log the final updated custom signals.
334-
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Updated custom signals: %@",
335-
newCustomSignals);
333+
// Log the keys of the updated custom signals.
334+
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Keys of updated custom signals: %@",
335+
[newCustomSignals allKeys]);
336336

337337
if (completionHandler) {
338338
dispatch_async(dispatch_get_main_queue(), ^{

FirebaseRemoteConfig/Sources/RCNConfigSettings.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,9 @@ - (NSString *)nextRequestWithUserProperties:(NSDictionary *)userProperties {
458458
[[NSString alloc]
459459
initWithData:jsonData
460460
encoding:NSUTF8StringEncoding]]];
461-
// Log the custom signals during fetch.
462-
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Fetching with custom signals: %@",
463-
customSignals);
461+
// Log the keys of the custom signals sent during fetch.
462+
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078",
463+
@"Keys of custom signals during fetch: %@", [customSignals allKeys]);
464464
}
465465
}
466466
ret = [ret stringByAppendingString:@"}"];

0 commit comments

Comments
 (0)