updating INFO.yaml to remove past committers
[dmaap/messagerouter/msgrtr.git] / etc / log4j.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3      ============LICENSE_START=======================================================
4      org.onap.dmaap
5      ================================================================================
6      Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7      ================================================================================
8      Licensed under the Apache License, Version 2.0 (the "License");
9      you may not use this file except in compliance with the License.
10      You may obtain a copy of the License at
11            http://www.apache.org/licenses/LICENSE-2.0
12      
13      Unless required by applicable law or agreed to in writing, software
14      distributed under the License is distributed on an "AS IS" BASIS,
15      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16      See the License for the specific language governing permissions and
17      limitations under the License.
18      ============LICENSE_END=========================================================
19    
20      ECOMP is a trademark and service mark of AT&T Intellectual Property.
21      
22  -->
23
24 <!DOCTYPE log4j:configuration PUBLIC
25   "-//APACHE//DTD LOG4J 1.2//EN" "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">
26
27 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
28
29         <!-- available for console output, not generally used in deployment -->
30         <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
31                 <param name="threshold" value="INFO" />
32                 <layout class="org.apache.log4j.EnhancedPatternLayout">
33                         <param name="ConversionPattern" value="[%d{ISO8601}{GMT+0} GMT][%-10t][%-5p]%m%n" />
34                 </layout>
35         </appender>
36
37         <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
38                 <param name="threshold" value="INFO" />
39                 <param name="File" value="./logs/cambria.log" />        <!-- use local dir by default; prod setup can overwrite -->
40                 <param name="MaxFileSize" value="128MB"/>
41                 <param name="MaxBackupIndex" value="10"/>
42                 <layout class="org.apache.log4j.EnhancedPatternLayout">
43                         <param name="ConversionPattern" value="[%d{ISO8601}{GMT+0} GMT][%-10t][%-5p]%m%n" />
44                 </layout>
45         </appender>
46
47         <appender name="ECOMP_ERROR" class="org.apache.log4j.RollingFileAppender">
48                 <param name="threshold" value="INFO" />
49                 <param name="File" value="./logs/error.log" />  <!-- use local dir by default; prod setup can overwrite -->
50                 <param name="MaxFileSize" value="128MB"/>
51                 <param name="MaxBackupIndex" value="10"/>
52                 <layout class="org.apache.log4j.EnhancedPatternLayout">
53                         <param name="ConversionPattern" value="%d{yyyy-MM-dd'T'HH:mm:ss}{GMT+0}+00:00|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{instanceUuid}|%p|%X{severity}|%X{serverIpAddress}|%X{server}|%X{ipAddress}|%X{className}|%X{timer}|%m%n" />
54                 </layout>
55         </appender>
56         <!-- the other 3 ECOMP logs are omitted for this release -->
57
58         <root>
59                 <level value="INFO" />
60                 <appender-ref ref="FILE" />
61                 <appender-ref ref="ECOMP_ERROR" />
62                 <appender-ref ref="CONSOLE" />
63         </root>
64
65 </log4j:configuration>