From e8d216016e3cb0cc4960808e6e5e8919dc0becdd Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 30 Nov 2020 18:37:58 +0000 Subject: [PATCH] Chore: Make debugging log less verbose for link replacement code --- packages/lib/models/Note.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/models/Note.js b/packages/lib/models/Note.js index 4605962c2..5e9512728 100644 --- a/packages/lib/models/Note.js +++ b/packages/lib/models/Note.js @@ -179,7 +179,7 @@ class Note extends BaseItem { pathsToTry.push(Resource.baseRelativeDirectoryPath()); } - this.logger().debug('replaceResourceExternalToInternalLinks', 'options:', options, 'pathsToTry:', pathsToTry, 'body:', body); + this.logger().debug('replaceResourceExternalToInternalLinks', 'options:', options, 'pathsToTry:', pathsToTry); for (const basePath of pathsToTry) { const reStrings = [ @@ -200,7 +200,7 @@ class Note extends BaseItem { body = body.replace(/\(joplin:\/\/([a-zA-Z0-9]{32})\)/g, '(:/$1)'); } - this.logger().debug('replaceResourceExternalToInternalLinks result', body); + // this.logger().debug('replaceResourceExternalToInternalLinks result', body); return body; }