[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / esr / resources / config / log / esrserver / logback.xml
1 <?xml version = "1.0" encoding = "UTF-8" ?>
2 <!--
3 # Copyright © 2018  AT&T, Amdocs, Bell Canada 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
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
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 -->
17
18 <?xml version="1.0" encoding="UTF-8"?>
19 <configuration debug="true" scan="true" scanPeriod="3 seconds">
20    <!--<jmxConfigurator /> -->
21    <!--  specify the base path of the log directory -->
22    <property name="logDir" value="/var/log/onap" />
23    <!--  specify the component name -->
24    <property name="componentName" value="esr" />
25    <!-- specify the sub component name -->
26    <property name="subComponentName" value="xacml-pap-rest" />
27    <!-- The directories where logs are written -->
28    <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
29    <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
30    <!--  log file names -->
31    <property name="errorLogName" value="error" />
32    <property name="metricsLogName" value="metrics" />
33    <property name="auditLogName" value="audit" />
34    <property name="debugLogName" value="debug" />
35    <property name="queueSize" value="256" />
36    <property name="maxFileSize" value="50MB" />
37    <property name="maxHistory" value="30" />
38    <property name="totalSizeCap" value="10GB" />
39    <!-- Example evaluator filter applied against console appender -->
40    <appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT">
41       <encoder>
42          <pattern>${pattern}</pattern>
43       </encoder>
44    </appender>