summaryrefslogtreecommitdiffstats
path: root/deployment-configs/src/main/resources
diff options
context:
space:
mode:
authorPlummer, Brittany <brittany.plummer@att.com>2020-04-04 10:48:18 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-04-04 10:48:18 -0400
commit7741561e747de628823cd6fc1353e9062b1c6034 (patch)
treedf11baddc44c0ba292f3477b83bc1fc7e4b76741 /deployment-configs/src/main/resources
parent3534e7089c955406866bd8e796a8f5e40b08100b (diff)
Use env var to determine debug logging appender
use env var to determine debug logging appender Issue-ID: SO-2791 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8aee6b28a789bc91137d10914673f7b51a74617a
Diffstat (limited to 'deployment-configs/src/main/resources')
-rw-r--r--deployment-configs/src/main/resources/logger/logback-spring.xml26
1 files changed, 14 insertions, 12 deletions
diff --git a/deployment-configs/src/main/resources/logger/logback-spring.xml b/deployment-configs/src/main/resources/logger/logback-spring.xml
index 3f022f55fb..76dbc1d1ab 100644
--- a/deployment-configs/src/main/resources/logger/logback-spring.xml
+++ b/deployment-configs/src/main/resources/logger/logback-spring.xml
@@ -157,6 +157,7 @@
<pattern>${debugPattern}</pattern>
</encoder>
</appender>
+
<appender name="asyncDebug" class="ch.qos.logback.classic.AsyncAppender">
<queueSize>256</queueSize>
@@ -190,28 +191,29 @@
<logger name="org.springframework" level="WARN" />
<logger
name="org.springframework.security.authentication.dao.DaoAuthenticationProvider"
- level="DEBUG" />
+ level="${LOG_LEVEL:-DEBUG}" />
<!-- Camunda related loggers -->
- <logger name="org.camunda.bpm.engine.jobexecutor.level" level="DEBUG" />
+ <logger name="org.camunda.bpm.engine.jobexecutor.level" level="${LOG_LEVEL:-DEBUG}" />
<logger
name="org.camunda.bpm.engine.impl.persistence.entity.JobEntity.level"
- level="DEBUG" />
+ level="${LOG_LEVEL:-DEBUG}" />
- <logger name="org.flywaydb" level="DEBUG"/>
- <logger name="org.apache.wire" level="DEBUG" />
- <logger name="org.onap" level="DEBUG" />
- <logger name="org.apache.cxf.interceptor" level="DEBUG" />
- <logger name="com.woorea.openstack.connector" level="DEBUG" />
+ <logger name="org.flywaydb" level="${LOG_LEVEL:-DEBUG}"/>
+ <logger name="org.apache.wire" level="${LOG_LEVEL:-DEBUG}" />
+ <logger name="org.onap" level="${LOG_LEVEL:-DEBUG}" />
+ <logger name="org.apache.cxf.interceptor" level="${LOG_LEVEL:-DEBUG}" />
+ <logger name="com.woorea.openstack.connector" level="${LOG_LEVEL:-DEBUG}" />
<!-- AAF Logs go here-->
<logger name="org.apache.catalina.core.ContainerBase" level="INFO" additivity="false">
<appender-ref ref="asyncCadi" />
</logger>
-
- <logger name="org.reflections.Reflections" level="ERROR" additivity="false">
- <appender-ref ref="asyncCadi" />
- </logger>
+
+ <!-- Jersey Openstack Connector Logs Go Here for Openstack4J -->
+ <logger name="os" level="${LOG_LEVEL:-DEBUG}" />
+
+ <logger name="org.reflections" level="ERROR" additivity="false" />
<logger name="AUDIT" level="INFO" additivity="false">
<appender-ref ref="asyncAudit" />