smartgears-distribution-legacy/distro/contents/logback.xml

24 lines
683 B
XML

<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>
<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>