summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marten <[email protected]>2018-01-12 13:14:41 +0000
committerJonathan Marten <[email protected]>2018-01-12 13:17:32 +0000
commit961bd80207677ef33c83274cc0d46bb01a2dabec (patch)
treee918aeb2e3a6cff8c348310939175aa22e0f334f
parentfd46904b7961b942af7265dd6e480a99067cfc8d (diff)
POP3 resource: Reduce verbosity of debug output
Depending on the amount of mail retained on the server, the dumped maps amount to many screens of debugging output on every mail fetch.
-rw-r--r--resources/pop3/pop3resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/pop3/pop3resource.cpp b/resources/pop3/pop3resource.cpp
index a427711..2a86050 100644
--- a/resources/pop3/pop3resource.cpp
+++ b/resources/pop3/pop3resource.cpp
@@ -529,7 +529,7 @@ void POP3Resource::listJobResult(KJob *job)
Q_ASSERT(listJob);
mIdsToSizeMap = listJob->idList();
mIdsToSaveValid = false;
- qCDebug(POP3RESOURCE_LOG) << "IdsToSizeMap:" << mIdsToSizeMap;
+ qCDebug(POP3RESOURCE_LOG) << "IdsToSizeMap size" << mIdsToSizeMap.size();
advanceState(UIDList);
}
}
@@ -544,8 +544,8 @@ void POP3Resource::uidListJobResult(KJob *job)
Q_ASSERT(listJob);
mIdsToUidsMap = listJob->uidList();
mUidsToIdsMap = listJob->idList();
- qCDebug(POP3RESOURCE_LOG) << "IdToUidMap:" << mIdsToUidsMap;
- qCDebug(POP3RESOURCE_LOG) << "UidToIdMap:" << mUidsToIdsMap;
+ qCDebug(POP3RESOURCE_LOG) << "IdsToUidsMap size" << mIdsToUidsMap.size();
+ qCDebug(POP3RESOURCE_LOG) << "UidsToIdsMap size" << mUidsToIdsMap.size();
mUidListValid = !mIdsToUidsMap.isEmpty() || mIdsToSizeMap.isEmpty();
if (Settings::self()->leaveOnServer() && !mUidListValid) {