PageRenderTime 32ms CodeModel.GetById 28ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/samples/scalate-sample-precompile/src/main/resources/logback.xml

http://github.com/scalate/scalate
XML | 51 lines | 19 code | 8 blank | 24 comment | 0 complexity | 959cde63f1e6ba3fbded57762ffb7ea0 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 scan="true" debug="false">
21  <!-- TODO in production mode disable the scan -->
22
23  <appender name="FILE" class="ch.qos.logback.core.FileAppender">
24    <File>target/application.log</File>
25    <Append>true</Append>
26
27    <encoder>
28      <Pattern>%-4relative [%thread] %-5level %logger{40} - %msg%n</Pattern>
29    </encoder>
30  </appender>
31
32
33  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
34    <encoder>
35      <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
36    </encoder>
37  </appender>
38
39<!--
40  <logger name="org.fusesource.scalate.jersey" level="DEBUG" />
41  <logger name="org.fusesource.scalate" level="DEBUG" />
42-->
43
44  <logger name="org.fusesource.scalate.servlet.ServletTemplateEngine.SourceMap" level="INFO" />
45  
46  <root level="info">
47    <appender-ref ref="FILE" />
48    <appender-ref ref="STDOUT" />
49  </root>
50
51</configuration>