silenced warning in POM and added rolling policy to default configuration

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution@82473 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
fabio.simeoni 2013-10-04 14:16:52 +00:00
parent 35690c3e47
commit cb90e7e539
2 changed files with 21 additions and 16 deletions

View File

@ -1,19 +1,24 @@
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>${LOGFILE}/ghn.log</file>
<append>true</append>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n</pattern>
</encoder>
</appender>
<logger name="org.gcube" level="INFO" />
<logger name="org.gcube.smartgears" level="TRACE" />
<logger name="org.gcube.common.events" level="TRACE" />
<root level="WARN">
<appender-ref ref="FILE" />
</root>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>${LOGFILE}/ghn.log</file>
<append>true</append>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logFile.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<logger name="org.gcube" level="INFO" />
<logger name="org.gcube.smartgears" level="TRACE" />
<logger name="org.gcube.common.events" level="TRACE" />
<root level="WARN">
<appender-ref ref="FILE" />
</root>
</configuration>

View File

@ -43,7 +43,7 @@
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-smartgears</artifactId>
<version>[1.0.0-SNAPSHOT,)</version>
<version>[1.0.0-SNAPSHOT,)</version><!--$NO-MVN-MAN-VER$-->
<classifier>probe</classifier>
<type>war</type>
</dependency>