From e590b573fbf6dc0dc148db7e1ba17dd84d1bba16 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 18 Feb 2021 12:39:29 +0100 Subject: [PATCH] log remaining specific room entries as detailed --- src/matrix/Sync.js | 2 +- src/matrix/room/Room.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/Sync.js b/src/matrix/Sync.js index cf61d96c..0ef962af 100644 --- a/src/matrix/Sync.js +++ b/src/matrix/Sync.js @@ -172,7 +172,7 @@ export class Sync { }); const roomsPromises = roomsNeedingAfterSyncCompleted.map(async rs => { try { - await log.wrap("room", log => rs.room.afterSyncCompleted(rs.changes, log)); + await log.wrap("room", log => rs.room.afterSyncCompleted(rs.changes, log), log.level.Detail); } catch (err) {} // error is logged, but don't fail roomsPromises }); // run everything in parallel, diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index b9575cfb..faedaf01 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -211,7 +211,7 @@ export class Room extends EventEmitter { log.set("id", this.id); preparation.decryptChanges = await preparation.decryptPreparation.decrypt(); preparation.decryptPreparation = null; - }); + }, parentLog.level.Detail); } }