blob: d590c3afbe504dd16b2ce689204880ffce59ea1a [file] [log] [blame]
Prateekinlinux445a18e2018-08-01 06:48:33 +00001<!--# Copyright © 2018 Amdocs, Bell Canada , ZTE
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License. -->
LiZi4dd8e112018-04-09 07:34:04 -040014<?xml version="1.0" encoding="UTF-8"?>
15<configuration debug="true" scan="true" scanPeriod="3 seconds">
16 <!--<jmxConfigurator /> -->
17 <!-- specify the base path of the log directory -->
18 <property name="logDir" value="/var/log/onap" />
19 <!-- specify the component name -->
20 <property name="componentName" value="msb" />
21 <!-- specify the sub component name -->
22 <property name="subComponentName" value="discovery" />
23 <!-- The directories where logs are written -->
24 <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
25 <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" />
26 <!-- log file names -->
27 <property name="errorLogName" value="error" />
28 <property name="metricsLogName" value="metrics" />
29 <property name="auditLogName" value="audit" />
30 <property name="debugLogName" value="debug" />
31 <property name="queueSize" value="256" />
32 <property name="maxFileSize" value="50MB" />
33 <property name="maxHistory" value="30" />
34 <property name="totalSizeCap" value="10GB" />
35 <!-- Example evaluator filter applied against console appender -->
36 <appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT">
37 <encoder>
38 <pattern>${pattern}</pattern>
39 </encoder>
Prateekinlinux445a18e2018-08-01 06:48:33 +000040 </appender>