[SSK] Reduce chattiness of logs; increase log file sizes.

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

@ -180,7 +180,7 @@ NSUInteger TSErrorMessageSchemaVersion = 1;
return; return;
} }
DDLogInfo(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp); DDLogDebug(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp);
_read = YES; _read = YES;
[self saveWithTransaction:transaction]; [self saveWithTransaction:transaction];
[self touchThreadWithTransaction:transaction]; [self touchThreadWithTransaction:transaction];

@ -127,7 +127,7 @@ NSString *const TSIncomingMessageWasReadOnThisDeviceNotification = @"TSIncomingM
return; return;
} }
DDLogInfo(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp); DDLogDebug(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp);
_read = YES; _read = YES;
[self saveWithTransaction:transaction]; [self saveWithTransaction:transaction];
[self touchThreadWithTransaction:transaction]; [self touchThreadWithTransaction:transaction];

@ -119,7 +119,7 @@ NSUInteger TSInfoMessageSchemaVersion = 1;
return; return;
} }
DDLogInfo(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp); DDLogDebug(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp);
_read = YES; _read = YES;
[self saveWithTransaction:transaction]; [self saveWithTransaction:transaction];
[self touchThreadWithTransaction:transaction]; [self touchThreadWithTransaction:transaction];

@ -96,7 +96,7 @@ NSUInteger TSCallCurrentSchemaVersion = 1;
return; return;
} }
DDLogInfo(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp); DDLogDebug(@"%@ marking as read uniqueId: %@ which has timestamp: %llu", self.tag, self.uniqueId, self.timestamp);
_read = YES; _read = YES;
[self saveWithTransaction:transaction]; [self saveWithTransaction:transaction];
[self touchThreadWithTransaction:transaction]; [self touchThreadWithTransaction:transaction];

@ -234,7 +234,7 @@ NSString *const kNSNotification_SocketManagerStateDidChange = @"kNSNotification_
return; return;
} }
DDLogWarn(@"%@ Socket state change: %@ -> %@", DDLogWarn(@"%@ Socket state: %@ -> %@",
self.tag, self.tag,
[self stringFromSocketManagerState:_state], [self stringFromSocketManagerState:_state],
[self stringFromSocketManagerState:state]); [self stringFromSocketManagerState:state]);

Loading…
Cancel
Save