tune down logging

// FREEBIE
This commit is contained in:
Michael Kirk 2018-06-14 12:47:47 -04:00 committed by Matthew Chen
parent 18c1f1ef31
commit a346465db5
2 changed files with 5 additions and 3 deletions

View File

@ -195,8 +195,6 @@ int const OWSLinkedDevicesTableViewControllerSectionAddDevice = 1;
{ {
OWSAssertIsOnMainThread(); OWSAssertIsOnMainThread();
DDLogVerbose(@"%@ %s", self.logTag, __PRETTY_FUNCTION__);
// External database modifications can't be converted into incremental updates, // External database modifications can't be converted into incremental updates,
// so rebuild everything. This is expensive and usually isn't necessary, but // so rebuild everything. This is expensive and usually isn't necessary, but
// there's no alternative. // there's no alternative.

View File

@ -8,6 +8,7 @@
#import "OWSSignalServiceProtos.pb.h" #import "OWSSignalServiceProtos.pb.h"
#import "TSAttachment.h" #import "TSAttachment.h"
#import "TSAttachmentStream.h" #import "TSAttachmentStream.h"
#import "TSContactThread.h"
#import "TSGroupModel.h" #import "TSGroupModel.h"
#import "TSGroupThread.h" #import "TSGroupThread.h"
@ -58,7 +59,10 @@ NS_ASSUME_NONNULL_BEGIN
enumerateCollectionObjectsWithTransaction:transaction enumerateCollectionObjectsWithTransaction:transaction
usingBlock:^(id obj, BOOL *stop) { usingBlock:^(id obj, BOOL *stop) {
if (![obj isKindOfClass:[TSGroupThread class]]) { if (![obj isKindOfClass:[TSGroupThread class]]) {
DDLogVerbose(@"Ignoring non group thread in thread collection: %@", obj); if (![obj isKindOfClass:[TSContactThread class]]) {
DDLogWarn(
@"Ignoring non group thread in thread collection: %@", obj);
}
return; return;
} }
TSGroupThread *groupThread = (TSGroupThread *)obj; TSGroupThread *groupThread = (TSGroupThread *)obj;