Browse Source

Merge pull request #2075 from overleaf/ho-setting-doc-log-level

downgrade log of no root doc to log to reduce noise

GitOrigin-RevId: f729f44b46704a26a8bcd808e64a239a0da38107
Henry Oswald 7 years ago
parent
commit
87605d835e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      services/web/app/src/Features/Compile/ClsiManager.js

+ 1 - 4
services/web/app/src/Features/Compile/ClsiManager.js

@@ -775,10 +775,7 @@ const ClsiManager = {
     }
     if (rootResourcePath == null) {
       if (hasMainFile) {
-        logger.warn(
-          { projectId },
-          'no root document found, setting to main.tex'
-        )
+        logger.log({ projectId }, 'no root document found, setting to main.tex')
         rootResourcePath = 'main.tex'
       } else if (numberOfDocsInProject === 1) {
         // only one file, must be the main document