2 ~ ================================================================================
3 ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 ~ ================================================================================
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
9 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 ~ ============LICENSE_END=========================================================
23 ============================= DEBUG LOG APPENDER ================================
25 <appender name="debugLogAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
27 <filter class="org.onap.dcae.utils.eelf.logger.logback.filter.MarkerFilter">
28 <markers>DEBUG_LOG</markers>
29 <onMatch>ACCEPT</onMatch>
30 <onMismatch>DENY</onMismatch>
33 <file>${debugLogDirectory}/${debugLogName}.log</file>
35 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
36 <fileNamePattern>${logDirectory}/${debugLogName}.%i.log.zip</fileNamePattern>
37 <minIndex>${minFileIndex}</minIndex>
38 <maxIndex>${maxFileIndex}</maxIndex>
41 <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
42 <maxFileSize>${maxFileSize}</maxFileSize>
45 <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
46 <layout class="org.onap.dcae.utils.eelf.logger.logback.layout.DebugLogLayout"/>
53 ============================= CONSOLE APPENDER ================================
55 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
57 <filter class="org.onap.dcae.utils.eelf.logger.logback.filter.MarkerFilter">
58 <markers>METRIC_LOG,AUDIT_LOG,ERROR_LOG,DEBUG_LOG</markers>
59 <onMatch>ACCEPT</onMatch>
60 <onMismatch>DENY</onMismatch>
63 <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
64 <layout class="org.onap.dcae.utils.eelf.logger.logback.layout.ConsoleLayout"/>