From a492ff8f794bfc5cd5e415d45594a8e521c0deca Mon Sep 17 00:00:00 2001 From: Matt Oswalt Date: Wed, 23 Aug 2017 12:10:21 -0700 Subject: [PATCH 1/2] Change default logging to INFO --- st2chatops.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st2chatops.env b/st2chatops.env index 9b5e297..1cc1e09 100644 --- a/st2chatops.env +++ b/st2chatops.env @@ -10,7 +10,7 @@ export NODE_TLS_REJECT_UNAUTHORIZED=0 export EXPRESS_PORT=8081 # Log level -export HUBOT_LOG_LEVEL=debug +export HUBOT_LOG_LEVEL=info # Bot name export HUBOT_NAME=hubot From 7df0c55efc44c33ea9529963ca42adca5dd9102e Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Sat, 17 Nov 2018 13:23:23 +0000 Subject: [PATCH 2/2] Update st2chatops.env to allow 'HUBOT_LOG_LEVEL' env override Co-Authored-By: armab --- st2chatops.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st2chatops.env b/st2chatops.env index 1cc1e09..ab74a38 100644 --- a/st2chatops.env +++ b/st2chatops.env @@ -10,7 +10,7 @@ export NODE_TLS_REJECT_UNAUTHORIZED=0 export EXPRESS_PORT=8081 # Log level -export HUBOT_LOG_LEVEL=info +export HUBOT_LOG_LEVEL=${HUBOT_LOG_LEVEL:-info} # Bot name export HUBOT_NAME=hubot