From 8a726552f784d3d6e3118c5dbb5d9a8651085dd0 Mon Sep 17 00:00:00 2001 From: Wouter R Date: Wed, 6 Jan 2016 15:01:01 +0100 Subject: [PATCH] Map print3d log level 'info' to firmware level 'warn' to reduce amount of logging under normal circumstances. --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index 538687e..097104f 100644 --- a/src/main.lua +++ b/src/main.lua @@ -133,7 +133,7 @@ local function setupLogger() -- TEMP: for now, translate print3d log level to firmware level, these will be unfiied in the future -- we get (print3d): quiet,error,warning,info,verbose,bulk -- and we need (firmware): debug,info,warn,error,fatal - logLevelMapping = { quiet='fatal', error='error', warning='warn', info='info', verbose='info', bulk='debug' } + logLevelMapping = { quiet='fatal', error='error', warning='warn', info='warn', verbose='info', bulk='debug' } logLevelSetting = logLevelMapping[logLevelSetting] if type(logTargetSetting) == 'string' then