Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <configuration> |
| 2 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 3 | <property name="LOGS" value="target/logs" /> |
| 4 | |
| 5 | <!-- Add this appender to keep the log file for further troubleshooting--> |
| 6 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 7 | <encoder> |
| 8 | <pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level |
| 9 | %logger{1024} - %msg%n |
| 10 | </pattern> |
| 11 | </encoder> |
| 12 | </appender> |
| 13 | |
| 14 | <appender name="File" |
| 15 | class="ch.qos.logback.core.FileAppender"> |
| 16 | <file>${LOGS}/testing.log</file> |
| 17 | <encoder |
| 18 | class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> |
| 19 | <Pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level |
| 20 | %logger{1024} - %msg%n</Pattern> |
| 21 | </encoder> |
| 22 | </appender> |
| 23 | |
| 24 | <logger name="com.att.ecomp.audit" level="info" additivity="false"> |
| 25 | <appender-ref ref="STDOUT"/> |
| 26 | </logger> |
| 27 | |
| 28 | <logger name="com.att.eelf.metrics" level="info" additivity="false"> |
| 29 | <appender-ref ref="STDOUT"/> |
| 30 | </logger> |
| 31 | |
| 32 | <logger name="com.att.eelf.error" level="WARN" additivity="false"> |
| 33 | <appender-ref ref="STDOUT"/> |
| 34 | </logger> |
| 35 | |
| 36 | <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false"> |
| 37 | <appender-ref ref="STDOUT"/> |
| 38 | </logger> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 39 | |
| 40 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 41 | <logger name="ch.vorburger" level="WARN" additivity="false"> |
| 42 | <appender-ref ref="STDOUT"/> |
| 43 | </logger> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 44 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 45 | <logger name="AUDIT" level="info" additivity="true"> |
| 46 | <appender-ref ref="STDOUT"/> |
| 47 | </logger> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 48 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 49 | <!-- suppress the amount of org.apache.tomcat.util.net.NioEndpoint log--> |
| 50 | <logger name="org.apache.tomcat" level="WARN" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 51 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 52 | <!-- suppress the amount of org.springframework.beans log--> |
| 53 | <logger name="org.springframework.beans" level="WARN"/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 54 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 55 | <!-- suppress the amount of org.springframework.context log--> |
| 56 | <logger name="org.springframework.context" level="WARN"/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 57 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 58 | <!-- suppress the amount of org.camunda.bpm.engine.impl.persistence--> |
| 59 | <logger name="org.camunda.bpm.engine.impl.persistence" level="WARN"/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 60 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 61 | <!-- suppress the amount of org.camunda.bpm.engine.persistence--> |
| 62 | <logger name="org.camunda.bpm.engine.persistence" level="WARN"/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 63 | |
eeginux | 88c47a2 | 2019-04-03 14:28:09 +0000 | [diff] [blame] | 64 | <root level="WARN"> |
| 65 | <appender-ref ref="STDOUT"/> |
| 66 | <appender-ref ref="File"/> |
| 67 | </root> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 68 | |
| 69 | </configuration> |