[DMAAP-DR] Remove AAF/TLS phase 1
[dmaap/datarouter.git] / datarouter-subscriber / src / test / resources / logback-test.xml
1 <!--
2   ============LICENSE_START==================================================
3   * org.onap.dmaap
4   * ===========================================================================
5   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6   * ===========================================================================
7   * Licensed under the Apache License, Version 2.0 (the "License");
8   * you may not use this file except in compliance with the License.
9   * You may obtain a copy of the License at
10   *
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 <configuration scan="true" scanPeriod="3 seconds" debug="false">
24   <property name="logDir" value="logs" />
25   <property name="generalLogName" value="application" />
26   <property name="defaultPattern"  value="%d{MM/dd-HH:mm:ss.SSS}|%logger|%X{RequestId}|%X{InvocationId}|%X{ServiceInstanceId}|%thread|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{Timer}|%msg%n" />
27   <property name="logDirectory" value="${logDir}" />
28
29   <appender name="file" class="ch.qos.logback.core.FileAppender">
30     <file>${logDirectory}/${generalLogName}.log</file>
31     <append>true</append>
32     <immediateFlush>true</immediateFlush>
33     <encoder>
34       <pattern>${defaultPattern}</pattern>
35     </encoder>
36   </appender>
37
38   <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
39     <encoder>
40       <pattern>${defaultPattern}</pattern>
41     </encoder>
42   </appender>
43
44   <logger name="org.eclipse.jetty" level="INFO"/>
45
46   <root level="DEBUG">
47     <appender-ref ref="file" />
48     <appender-ref ref="console" />
49   </root>
50 </configuration>