PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-camel/src/test/resources/logback-test.xml

http://github.com/scalate/scalate
XML | 45 lines | 19 code | 7 blank | 19 comment | 0 complexity | 62c05bad6c28c7f99327daf90088221b MD5 | raw file
 1<!--
 2
 3    Copyright (C) 2009-2011 the original author or authors.
 4    See the notice.md file distributed with this work for additional
 5    information regarding copyright ownership.
 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
19-->
20<configuration debug="false">
21
22  <appender name="FILE" class="ch.qos.logback.core.FileAppender">
23    <File>target/tests.log</File>
24    <Append>true</Append>
25
26    <encoder>
27      <pattern>%-4relative [%thread] %-5level %logger{40} - %msg%n</pattern>
28    </encoder>
29  </appender>
30  
31
32  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
33    <encoder>
34      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{40} - %msg%n</pattern>
35    </encoder>
36  </appender>
37
38  <logger name="org.fusesource.scalate" level="DEBUG" />
39
40  <root level="debug">
41    <appender-ref ref="STDOUT" />
42    <appender-ref ref="FILE" />
43  </root>
44
45</configuration>