From b946badd97ab58e9df9adefc51faa9a80bdf9bf0 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 22 Jun 2017 10:10:30 -0400 Subject: [PATCH] [SSK] Reduce chattiness of logs; increase log file sizes. // FREEBIE --- src/Messages/Interactions/TSErrorMessage.m | 2 +- src/Messages/Interactions/TSIncomingMessage.m | 2 +- src/Messages/Interactions/TSInfoMessage.m | 2 +- src/Messages/TSCall.m | 2 +- src/Network/WebSockets/TSSocketManager.m | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Messages/Interactions/TSErrorMessage.m b/src/Messages/Interactions/TSErrorMessage.m index 07e181b690..a50327e406 100644 --- a/src/Messages/Interactions/TSErrorMessage.m +++ b/src/Messages/Interactions/TSErrorMessage.m @@ -180,7 +180,7 @@ NSUInteger TSErrorMessageSchemaVersion = 1; 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; [self saveWithTransaction:transaction]; [self touchThreadWithTransaction:transaction]; diff --git a/src/Messages/Interactions/TSIncomingMessage.m b/src/Messages/Interactions/TSIncomingMessage.m index dddbacef9f..eb3f2d2c43 100644 --- a/src/Messages/Interactions/TSIncomingMessage.m +++ b/src/Messages/Interactions/TSIncomingMessage.m @@ -127,7 +127,7 @@ NSString *const TSIncomingMessageWasReadOnThisDeviceNotification = @"TSIncomingM 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; [self saveWithTransaction:transaction]; [self touchThreadWithTransaction:transaction]; diff --git a/src/Messages/Interactions/TSInfoMessage.m b/src/Messages/Interactions/TSInfoMessage.m index 7ae9afa04e..d8ae953061 100644 --- a/src/Messages/Interactions/TSInfoMessage.m +++ b/src/Messages/Interactions/TSInfoMessage.m @@ -119,7 +119,7 @@ NSUInteger TSInfoMessageSchemaVersion = 1; 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; [self saveWithTransaction:transaction]; [self touchThreadWithTransaction:transaction]; diff --git a/src/Messages/TSCall.m b/src/Messages/TSCall.m index 7f4e63eeff..ff517fe69a 100644 --- a/src/Messages/TSCall.m +++ b/src/Messages/TSCall.m @@ -96,7 +96,7 @@ NSUInteger TSCallCurrentSchemaVersion = 1; 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; [self saveWithTransaction:transaction]; [self touchThreadWithTransaction:transaction]; diff --git a/src/Network/WebSockets/TSSocketManager.m b/src/Network/WebSockets/TSSocketManager.m index 2c6c7a9e26..27ba199ff8 100644 --- a/src/Network/WebSockets/TSSocketManager.m +++ b/src/Network/WebSockets/TSSocketManager.m @@ -234,7 +234,7 @@ NSString *const kNSNotification_SocketManagerStateDidChange = @"kNSNotification_ return; } - DDLogWarn(@"%@ Socket state change: %@ -> %@", + DDLogWarn(@"%@ Socket state: %@ -> %@", self.tag, [self stringFromSocketManagerState:_state], [self stringFromSocketManagerState:state]);