From 5a4bc87e1aa98f40576c9154deffb0456ec34343 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sat, 21 Jul 2018 11:28:22 +0200
Subject: [PATCH] [enh] logs: chunk completion should be `info` level

---
 app/modules/crawler/lib/sync/ChunkGetter.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/crawler/lib/sync/ChunkGetter.ts b/app/modules/crawler/lib/sync/ChunkGetter.ts
index 2709e022b..a7bc61d59 100644
--- a/app/modules/crawler/lib/sync/ChunkGetter.ts
+++ b/app/modules/crawler/lib/sync/ChunkGetter.ts
@@ -165,7 +165,7 @@ export class ChunkGetter {
                 ;(handler as any).state = 'WAITING'
                 i++
               } else {
-                logger.warn("Chunk #%s read from filesystem.", i)
+                logger.info("Chunk #%s read from filesystem.", i)
                 let doWrite = handler.downloader !== this.fsDownloader
                   || !(await this.writeDAL.confDAL.coreFS.exists(fileName))
                 if (doWrite) {
@@ -181,7 +181,7 @@ export class ChunkGetter {
               if (chainsWell) {
 
                 // Chunk is COMPLETE
-                logger.warn("Chunk #%s is COMPLETE", i)
+                logger.info("Chunk #%s is COMPLETE", i)
                 ;(handler as any).state = 'COMPLETED'
                 if (!isTopChunk) {
                   (handler as any).chunk = undefined
-- 
GitLab