Author: tchemit Date: 2012-08-01 13:11:29 +0200 (Wed, 01 Aug 2012) New Revision: 2464 Url: http://nuiton.org/repositories/revision/jaxx/2464 Log: fixes #2219: Add a logback configuration file Added: trunk/jaxx-maven-plugin/src/main/resources/logback-test.xml Added: trunk/jaxx-maven-plugin/src/main/resources/logback-test.xml =================================================================== --- trunk/jaxx-maven-plugin/src/main/resources/logback-test.xml (rev 0) +++ trunk/jaxx-maven-plugin/src/main/resources/logback-test.xml 2012-08-01 11:11:29 UTC (rev 2464) @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + SAMMOA :: Application + + $Id$ + $HeadURL: http://svn.forge.codelutin.com/svn/sammoa/trunk/sammoa-ui-swing/src/main/res... $ + %% + Copyright (C) 2012 UMS 3462, Code Lutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this program. If not, see + <http://www.gnu.org/licenses/gpl-3.0.html>. + #L% + --> + +<configuration> + + <contextName>JAXX</contextName> + + <property name="sammoa.log.pattern" value="%date %level [%thread] %logger [:%line] : %msg%n"/> + + <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>${sammoa.log.pattern}</pattern> + </encoder> + </appender> + + <!--<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">--> + <!--<file>${sammoa.log.file}</file>--> + <!--<encoder>--> + <!--<pattern>${sammoa.log.pattern}</pattern>--> + <!--</encoder>--> + <!--<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">--> + <!--<fileNamePattern>${sammoa.log.file}-%d{yyyy-MM-dd}.log</fileNamePattern>--> + <!--<maxHistory>10</maxHistory>--> + <!--</rollingPolicy>--> + <!--</appender>--> + + <logger name="org.nuiton.jaxx" level="WARN"/> + + <root level="ERROR"> + <!--<appender-ref ref="FILE"/>--> + <appender-ref ref="CONSOLE"/> + </root> + +</configuration> Property changes on: trunk/jaxx-maven-plugin/src/main/resources/logback-test.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native