logging: add SDLOG_MODE = -1 to disable logging completely

This commit is contained in:
Beat Küng
2019-03-20 11:03:02 +01:00
parent a08b1682e3
commit 14ef009aab
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -24,4 +24,8 @@ then
set LOGGER_ARGS "-f"
fi
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
if ! param compare SDLOG_MODE -1
then
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
fi