summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/cli/config.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-05-07 19:37:25 +0200
committerOliver Poignant <oliver@poignant.se>2016-05-07 19:37:25 +0200
commitb72fbdfe8626fb68cf430995270c104b86d5e876 (patch)
treeba07d7c2f0c69715c200f1f2150dd7c6b92471aa /gitautodeploy/cli/config.py
parent703ff62ad8e386e7d9c0e545f60e46fff93ea8e5 (diff)
downloadGit-Auto-Deploy-b72fbdfe8626fb68cf430995270c104b86d5e876.zip
Git-Auto-Deploy-b72fbdfe8626fb68cf430995270c104b86d5e876.tar.gz
Git-Auto-Deploy-b72fbdfe8626fb68cf430995270c104b86d5e876.tar.bz2
Config option to set a custom logging level
Diffstat (limited to 'gitautodeploy/cli/config.py')
-rw-r--r--gitautodeploy/cli/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitautodeploy/cli/config.py b/gitautodeploy/cli/config.py
index 73fb96f..bdbe12f 100644
--- a/gitautodeploy/cli/config.py
+++ b/gitautodeploy/cli/config.py
@@ -15,6 +15,9 @@ def get_config_defaults():
config['port'] = 8001
config['intercept-stdout'] = True
+ # Record all log levels by default
+ config['log-level'] = 'NOTSET'
+
# Include details with deploy command return codes in HTTP response. Causes
# to await any git pull or deploy command actions before it sends the
# response.