From 6b1b34bf26eaf883c3dcf3062c04357a041de6b8 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 13 Dec 2020 14:52:31 +0100
Subject: [PATCH] logs: lower replace warning to info

---
 lib/workers/branch/auto-replace.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/workers/branch/auto-replace.ts b/lib/workers/branch/auto-replace.ts
index 0cd88d02e3..3a1ef3cab9 100644
--- a/lib/workers/branch/auto-replace.ts
+++ b/lib/workers/branch/auto-replace.ts
@@ -136,9 +136,9 @@ export async function doAutoReplace(
   logger.trace({ depName, replaceString }, 'autoReplace replaceString');
   let searchIndex = existingContent.indexOf(replaceString);
   if (searchIndex === -1) {
-    logger.warn(
+    logger.info(
       { packageFile, depName, existingContent, replaceString },
-      'Cannot find replaceString in current file content'
+      'Cannot find replaceString in current file content. Was it already updated?'
     );
     return existingContent;
   }
-- 
GitLab