[geary/mjog/db-result-timing: 4/5] Geary.ImapEngine.GenericAccount: Set database logging parent per account
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/db-result-timing: 4/5] Geary.ImapEngine.GenericAccount: Set database logging parent per account
- Date: Thu, 10 Sep 2020 09:09:25 +0000 (UTC)
commit e39853db6215ac720dd047f48d940236cdbaa7f1
Author: Michael Gratton <mike vee net>
Date: Wed Sep 9 18:38:08 2020 +1000
Geary.ImapEngine.GenericAccount: Set database logging parent per account
Set the database's logging parent so its log statements are associated
with its account in the inspector.
src/engine/imap-engine/imap-engine-generic-account.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/engine/imap-engine/imap-engine-generic-account.vala
b/src/engine/imap-engine/imap-engine-generic-account.vala
index 2bd087b17..ef1ba7b4d 100644
--- a/src/engine/imap-engine/imap-engine-generic-account.vala
+++ b/src/engine/imap-engine/imap-engine-generic-account.vala
@@ -79,6 +79,8 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account {
base(config, imap, smtp);
this.local = local;
+ this.local.db.set_logging_parent(this);
+
this.contact_store = new ContactStoreImpl(local.db);
imap.min_pool_size = IMAP_MIN_POOL_SIZE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]