diff --git a/lib/utils/util.js b/lib/utils/util.js index b9bee0f2..e02ea252 100644 --- a/lib/utils/util.js +++ b/lib/utils/util.js @@ -606,7 +606,7 @@ const Util = { // time is debug level, fix the log info, for checking snapshot logTime: (message, time_start) => { - if (Util.loggingLevel < Util.loggingLevels.debug) { + if (Util.loggingLevel < Util.loggingLevels.debug && !process.env.MCR_LOG_TIME) { return; } const duration = Date.now() - time_start;