Skip Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP : APPC |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Copyright (C) 2017 Amdocs |
| 8 | ============================================================================= |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | |
| 21 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 22 | ============LICENSE_END========================================================= |
| 23 | --> |
| 24 | |
| 25 | <configuration scan="true"> |
| 26 | |
| 27 | <property name="componentName" value="APPC-Client"/> |
| 28 | <property name="debugDir" value="logs" /> |
| 29 | |
| 30 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 31 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 32 | <level>ERROR</level> |
| 33 | <onMatch>ACCEPT</onMatch> |
| 34 | <onMismatch>DENY</onMismatch> |
| 35 | </filter> |
| 36 | <encoder> |
| 37 | <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{36} %X{akkaSource} - %msg%n</pattern> |
| 38 | </encoder> |
| 39 | </appender> |
| 40 | |
| 41 | <appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 42 | <file>logs/client-debug.log</file> |
| 43 | |
| 44 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 45 | <fileNamePattern>logs/client-debug.%d.log.zip</fileNamePattern> |
| 46 | <maxHistory>1</maxHistory> |
| 47 | </rollingPolicy> |
| 48 | |
| 49 | <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 50 | <maxFileSize>10MB</maxFileSize> |
| 51 | </triggeringPolicy> |
| 52 | |
| 53 | <encoder> |
| 54 | <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{35} - %msg%n</pattern> |
| 55 | </encoder> |
| 56 | </appender> |
| 57 | |
| 58 | <appender name="asyncEELF" class="ch.qos.logback.classic.AsyncAppender"> |
| 59 | <queueSize>256</queueSize> |
| 60 | <appender-ref ref="ERROR_FILE" /> |
| 61 | </appender> |
| 62 | |
| 63 | |
| 64 | <root level="debug"> |
| 65 | <appender-ref ref="DEBUG_FILE" /> |
| 66 | </root> |
| 67 | |
| 68 | <!--<logger name="ch.qos.logback" level="error" additivity="false">--> |
| 69 | <!--<appender-ref ref="asyncEELFServer" />--> |
| 70 | <!--</logger>--> |
| 71 | |
| 72 | <!--<logger name="ch.qos.logback" level="error" additivity="false">--> |
| 73 | <!--<appender-ref ref="asyncEELFPerformance" />--> |
| 74 | <!--</logger>--> |
| 75 | |
| 76 | <!--<logger name="ch.qos.logback" level="error" additivity="false">--> |
| 77 | <!--<appender-ref ref="asyncEELFPolicy" />--> |
| 78 | <!--</logger>--> |
| 79 | |
| 80 | </configuration> |
| 81 | |