72 lines
2.4 KiB
XML
72 lines
2.4 KiB
XML
<configuration scan="true" debug="false">
|
|
|
|
<appender name="FILE"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>/smartgears-distribution/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>/smartgears-distribution/ghn.%d{yyyy-MM-dd}.log</fileNamePattern>
|
|
<maxHistory>30</maxHistory>
|
|
</rollingPolicy>
|
|
</appender>
|
|
|
|
<appender name="ACCOUNT_FILE"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>/smartgears-distribution/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>/smartgears-distribution/accounting.%d{yyyy-MM-dd}.log
|
|
</fileNamePattern>
|
|
<maxHistory>30</maxHistory>
|
|
</rollingPolicy>
|
|
</appender>
|
|
|
|
<appender name="ACCESS_FILE"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>/smartgears-distribution/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>/smartgears-distribution/access.%d{yyyy-MM-dd}.log
|
|
</fileNamePattern>
|
|
<maxHistory>30</maxHistory>
|
|
</rollingPolicy>
|
|
</appender>
|
|
|
|
|
|
<logger name="org.gcube.data.publishing" level="ERROR">
|
|
<appender-ref ref="ACCOUNT_FILE" />
|
|
</logger>
|
|
<logger name="org.gcube.documentstore" level="ERROR">
|
|
<appender-ref ref="ACCOUNT_FILE" />
|
|
</logger>
|
|
|
|
<logger name="org.gcube.smartgears.handlers.application.request"
|
|
level="INFO">
|
|
<appender-ref ref="ACCESS_FILE" />
|
|
</logger>
|
|
|
|
<logger name="org.gcube" level="INFO" />
|
|
<logger name="org.gcube.smartgears" level="TRACE" />
|
|
<logger name="org.gcube.smartgears.handlers" level="TRACE"/>
|
|
<logger name="org.gcube.common.events" level="WARN" />
|
|
<logger name="org.gcube.data.publishing" level="ERROR" />
|
|
<logger name="org.gcube.documentstore" level="ERROR" />
|
|
<logger name="org.gcube.common.core.publisher.is.legacy" level="TRACE" />
|
|
<logger name="org.gcube.data.access" level="TRACE" />
|
|
|
|
<root level="WARN">
|
|
<appender-ref ref="FILE" />
|
|
</root>
|
|
</configuration> |