blob: 6e919eb932342bce472236bef9104fd80b2b75af [file] [log] [blame]
Kevin McKiou36cf73f2017-08-22 16:08:06 -05001<!--
2 ============LICENSE_START=======================================================
3 feature-session-persistence
4 ================================================================================
5 Copyright (C) 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
21<!-- Controls the output of logs for JUnit tests -->
22
23<configuration>
24
Kevin McKiou4c539952017-09-14 12:31:02 -050025 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
26 <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
27 <Pattern>
28 %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36}.%M\(%line\) - %msg%n
29 </Pattern>
30 </encoder>
31 </appender>
32 <appender name="FILE" class="ch.qos.logback.core.FileAppender">
33 <file>logs/debug.log</file>
34 <encoder>
35 <Pattern>
36 %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36}.%M\(%line\) - %msg%n
37 </Pattern>
38 </encoder>
39 </appender>
40
41 <root level="debug">
42 <appender-ref ref="STDOUT" />
43 <appender-ref ref="FILE" />
44 </root>
Kevin McKiou36cf73f2017-08-22 16:08:06 -050045
46</configuration>