2013-09-25 12:30:43 +02:00
|
|
|
|
2018-12-10 18:24:57 +01:00
|
|
|
<configuration configuration scan="true" debug="false">
|
2013-09-25 12:30:43 +02:00
|
|
|
|
2016-09-29 15:18:32 +02:00
|
|
|
<appender name="FILE"
|
|
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
2013-10-04 16:16:52 +02:00
|
|
|
<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">
|
2014-04-16 10:56:30 +02:00
|
|
|
<fileNamePattern>${LOGFILE}/ghn.%d{yyyy-MM-dd}.log</fileNamePattern>
|
2013-10-04 16:16:52 +02:00
|
|
|
<maxHistory>30</maxHistory>
|
|
|
|
</rollingPolicy>
|
|
|
|
</appender>
|
|
|
|
|
2016-09-29 15:18:32 +02:00
|
|
|
<appender name="ACCOUNT_FILE"
|
|
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
|
<file>${LOGFILE}/accounting.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}/accounting.%d{yyyy-MM-dd}.log
|
|
|
|
</fileNamePattern>
|
|
|
|
<maxHistory>30</maxHistory>
|
|
|
|
</rollingPolicy>
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
<appender name="ACCESS_FILE"
|
|
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
|
<file>${LOGFILE}/access.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}/access.%d{yyyy-MM-dd}.log
|
|
|
|
</fileNamePattern>
|
|
|
|
<maxHistory>30</maxHistory>
|
|
|
|
</rollingPolicy>
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
|
2018-01-15 10:07:49 +01:00
|
|
|
<logger name="org.gcube.data.publishing" level="ERROR">
|
2016-09-29 15:18:32 +02:00
|
|
|
<appender-ref ref="ACCOUNT_FILE" />
|
|
|
|
</logger>
|
2018-01-15 10:07:49 +01:00
|
|
|
<logger name="org.gcube.documentstore" level="ERROR">
|
2016-09-29 15:18:32 +02:00
|
|
|
<appender-ref ref="ACCOUNT_FILE" />
|
|
|
|
</logger>
|
|
|
|
|
|
|
|
<logger name="org.gcube.smartgears.handlers.application.request"
|
|
|
|
level="INFO">
|
|
|
|
<appender-ref ref="ACCESS_FILE" />
|
|
|
|
</logger>
|
|
|
|
|
2016-02-05 11:45:28 +01:00
|
|
|
<logger name="org.gcube" level="WARN" />
|
|
|
|
<logger name="org.gcube.smartgears" level="WARN" />
|
|
|
|
<logger name="org.gcube.common.events" level="WARN" />
|
2018-01-15 10:07:49 +01:00
|
|
|
<logger name="org.gcube.data.publishing" level="ERROR" />
|
|
|
|
<logger name="org.gcube.documentstore" level="ERROR" />
|
2016-09-29 15:18:32 +02:00
|
|
|
|
2013-10-04 16:16:52 +02:00
|
|
|
|
|
|
|
<root level="WARN">
|
|
|
|
<appender-ref ref="FILE" />
|
|
|
|
</root>
|
2013-09-25 12:30:43 +02:00
|
|
|
</configuration>
|