Reduce chattiness of logs; increase log file sizes.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent b946badd97
commit ed369436fb

@ -289,7 +289,6 @@ NS_ASSUME_NONNULL_BEGIN
OWSAssert(interaction); OWSAssert(interaction);
if (interaction.isDynamicInteraction) { if (interaction.isDynamicInteraction) {
DDLogDebug(@"%@ not showing dynamic interaction in inbox: %@", self.tag, interaction.debugDescription);
return NO; return NO;
} }
@ -298,15 +297,11 @@ NS_ASSUME_NONNULL_BEGIN
if (errorMessage.errorType == TSErrorMessageNonBlockingIdentityChange) { if (errorMessage.errorType == TSErrorMessageNonBlockingIdentityChange) {
// Otherwise all group threads with the recipient will percolate to the top of the inbox, even though // Otherwise all group threads with the recipient will percolate to the top of the inbox, even though
// there was no meaningful interaction. // there was no meaningful interaction.
DDLogDebug(
@"%@ not showing nonblocking identity change in inbox: %@", self.tag, errorMessage.debugDescription);
return NO; return NO;
} }
} else if ([interaction isKindOfClass:[TSInfoMessage class]]) { } else if ([interaction isKindOfClass:[TSInfoMessage class]]) {
TSInfoMessage *infoMessage = (TSInfoMessage *)interaction; TSInfoMessage *infoMessage = (TSInfoMessage *)interaction;
if (infoMessage.messageType == TSInfoMessageVerificationStateChange) { if (infoMessage.messageType == TSInfoMessageVerificationStateChange) {
DDLogDebug(
@"%@ not showing verification state change in inbox: %@", self.tag, infoMessage.debugDescription);
return NO; return NO;
} }
} }

Loading…
Cancel
Save