summaryrefslogtreecommitdiffstats
path: root/datarouter-node/src/main/resources
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2019-07-17 09:00:04 +0000
committeregernug <gerard.nugent@est.tech>2019-07-17 09:00:04 +0000
commit5ad15107613e7aa41af1a0c1e61c3be2e608e4c4 (patch)
tree8e284aa74d9228f032175864d3944a8bf8223820 /datarouter-node/src/main/resources
parent98572b78fcce9ff28fa7429c9265812bd1e78bf2 (diff)
Logging changes and unit tests
Change-Id: Ic4644e7c4899b4b1261a8113679b531af1739c84 Issue-ID: DMAAP-1227 Signed-off-by: egernug <gerard.nugent@est.tech>
Diffstat (limited to 'datarouter-node/src/main/resources')
-rw-r--r--datarouter-node/src/main/resources/logback.xml26
1 files changed, 10 insertions, 16 deletions
diff --git a/datarouter-node/src/main/resources/logback.xml b/datarouter-node/src/main/resources/logback.xml
index dc19cb6f..3c564f4a 100644
--- a/datarouter-node/src/main/resources/logback.xml
+++ b/datarouter-node/src/main/resources/logback.xml
@@ -110,10 +110,7 @@
<appender name="Debug"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${logDirectory}/${debugLog}.log</file>
- <filter class="ch.qos.logback.classic.filter.LevelFilter">
- <level>DEBUG</level>
- <onMatch>ACCEPT</onMatch>
- <onMismatch>DENY</onMismatch>
+ <filter class="org.onap.dmaap.datarouter.node.eelf.DebugFilter">
</filter>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
@@ -141,10 +138,7 @@
<appender name="Error"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${logDirectory}/${errorLog}.log</file>
- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
- <level>WARN</level>
- <onMatch>ACCEPT</onMatch>
- <onMismatch>DENY</onMismatch>
+ <filter class="org.onap.dmaap.datarouter.node.eelf.ErrorFilter">
</filter>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
@@ -204,21 +198,21 @@
<appender-ref ref="asyncAudit" />
</logger>
- <logger name="com.att.eelf" level="info" additivity="false">
+ <logger name="com.att.eelf" additivity="false">
<appender-ref ref="asyncMetrics" />
</logger>
- <logger name="com.att.eelf" level="debug" additivity="false">
+ <logger name="com.att.eelf" additivity="false">
<appender-ref ref="asyncDebug" />
</logger>
- <logger name="com.att.eelf.error" level="error" additivity="false">
- <appender-ref ref="asyncError" />
- </logger>
+ <logger name="com.att.eelf.error" additivity="false">
+ <appender-ref ref="asyncError" />
+ </logger>
- <logger name="log4j.logger.org.eclipse.jetty" additivity="false" level="info">
- <appender-ref ref="asyncJettyLog"/>
- </logger>
+ <logger name="log4j.logger.org.eclipse.jetty" additivity="false">
+ <appender-ref ref="asyncJettyLog"/>
+ </logger>