From fb002cca127112b30b2aceb361451be30b441331 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Thu, 10 Dec 2015 14:05:33 +0000 Subject: [PATCH] taskotron-dev: set log stream level to debug --- .../taskotron/taskotron-client/templates/taskotron.yaml.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/taskotron/taskotron-client/templates/taskotron.yaml.j2 b/roles/taskotron/taskotron-client/templates/taskotron.yaml.j2 index 2e0c6b436b..10383bd584 100644 --- a/roles/taskotron/taskotron-client/templates/taskotron.yaml.j2 +++ b/roles/taskotron/taskotron-client/templates/taskotron.yaml.j2 @@ -163,7 +163,11 @@ minion_repos: ## output (option log_level_stream) and logging to file (log_level_file). ## Possible values can be found here: ## https://docs.python.org/2.7/library/logging.html#logging-levels -#log_level_stream: INFO +{% if deployment_type == 'dev' %} +log_level_stream: DEBUG +{% elif deployment_type in ['stg', 'prod', 'local'] %} +log_level_stream: INFO +{% endif %} #log_level_file: DEBUG ## If True, logging to file will be enabled.