source: raptor-distribution/MSIs/raptor-web/tags/v1.2.1/source/web/webapp/raptor-web/WEB-INF/classes/logback.xml @ 1748

Revision 1748, 1.8 KB checked in by rhyssmith, 5 years ago (diff)

Tagging raptor-web v1.2.1-1 release of Raptor Web MSI

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4    Copyright (C) 2010 Cardiff University, Wales <smartp@cf.ac.uk>
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10            http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17
18-->
19
20<configuration>
21
22  <property name="LOG_HOME" value="logs" />
23
24
25  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
26    <file>${LOG_HOME}/raptor-web-process.log</file>
27     <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
28      <!-- daily rollover -->
29      <fileNamePattern>${LOG_HOME}/raptor-web-process.%d{yyyy-MM-dd}.log</fileNamePattern>
30      <!-- keep 30 days' worth of history -->
31      <maxHistory>30</maxHistory>
32    </rollingPolicy>
33    <encoder>
34      <pattern>%5p %d \(%C{3}:%L\) ---&gt; %m%n</pattern>
35    </encoder>
36  </appender>
37 
38  <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
39    <encoder>
40      <pattern>%5p %d \(%C{3}:%L\) ---&gt; %m%n</pattern>
41    </encoder>
42  </appender>
43
44
45
46  <logger name="org.springframework" level="ERROR">
47    <appender-ref ref="FILE"/>
48  </logger>
49  <logger name="uk.ac.cardiff" level="INFO">
50    <appender-ref ref="FILE"/>
51  </logger>
52  <logger name="org.eclipse.jetty" level="ERROR">
53    <appender-ref ref="FILE"/>
54  </logger>
55
56  <logger name="org.apache.cxf" level="ERROR">
57    <appender-ref ref="FILE"/>
58  </logger>
59
60
61</configuration>
Note: See TracBrowser for help on using the repository browser.