Code Review
/
integration
/
packaging
/
ansible-opendaylight.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Handle condition when log setting not customized
[integration/packaging/ansible-opendaylight.git]
/
tasks
/
configure_odl_logs.yml
diff --git
a/tasks/configure_odl_logs.yml
b/tasks/configure_odl_logs.yml
index 3d651d869401e38b55b183b0a566bd76f34d4b90..d3a007b0d44deb21dbbcd7fe7f1ba5811842d250 100644
(file)
--- a/
tasks/configure_odl_logs.yml
+++ b/
tasks/configure_odl_logs.yml
@@
-6,6
+6,7
@@
regexp: "^log4j2.{{ item.value.log_name }}.level.*s"
line: "log4j2.{{ item.value.log_name }}.level = {{ item.value.log_level }}"
with_dict: "{{ log_levels }}"
+ when: "item.value.log_name != None"
- name: configure console logging
block: