-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1930 from remote-tracking branch 'origin/1847-separateLogFiles'
- Loading branch information
Showing
8 changed files
with
137 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,4 +233,4 @@ public Map<String, String> getMultilangLabel() { | |
return multilangLabel; | ||
} | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<configuration> | ||
<appender name="FILE_APPLICATION" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>./logs/application.log</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> | ||
<!-- Daily rollover with compression --> | ||
<fileNamePattern>application-log-%d{yyyy-MM-dd}.%i.gz</fileNamePattern> | ||
<!-- keep 3 weeks worth of history --> | ||
<maxHistory>21</maxHistory> | ||
<!-- roll log file > 100MB --> | ||
<maxFileSize>100MB</maxFileSize> | ||
</rollingPolicy> | ||
<encoder> | ||
<pattern>%date{yyyy-MM-dd HH:mm:ss ZZZZ} [%level] from %logger{36} - %message%n%xException</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="FILE_ETL" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>./logs/etl.log</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> | ||
<!-- Daily rollover with compression --> | ||
<fileNamePattern>etl-log-%d{yyyy-MM-dd}.%i.gz</fileNamePattern> | ||
<!-- keep 3 weeks worth of history --> | ||
<maxHistory>21</maxHistory> | ||
<!-- roll log file > 100MB --> | ||
<maxFileSize>100MB</maxFileSize> | ||
</rollingPolicy> | ||
<encoder> | ||
<pattern>%date{yyyy-MM-dd HH:mm:ss} [%level] %logger{52} in %thread - %message%n%xException</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%logger{15} - %message%n%xException{10}</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="STDOUT" /> | ||
</appender> | ||
|
||
<!-- Off these ones as they are annoying, and anyway we manage configuration ourself --> | ||
<logger name="com.avaje.ebean.config.PropertyMapLoader" level="OFF" /> | ||
<logger name="com.avaje.ebeaninternal.server.core.XmlConfigLoader" level="OFF" /> | ||
<logger name="com.avaje.ebeaninternal.server.lib.BackgroundThread" level="OFF" /> | ||
<logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" /> | ||
|
||
<logger name="play" level="INFO" > | ||
<appender-ref ref="FILE_APPLICATION" /> | ||
</logger> | ||
<logger name="application" level="INFO" > | ||
<appender-ref ref="FILE_APPLICATION" /> | ||
</logger> | ||
|
||
<logger name="org.metafacture" level="INFO" > | ||
<appender-ref ref="FILE_ETL" /> | ||
</logger> | ||
<logger name="org.lobid" level="INFO" > | ||
<appender-ref ref="FILE_ETL" /> | ||
</logger> | ||
<logger name="de.hbz.lobid" level="INFO" > | ||
<appender-ref ref="FILE_ETL" /> | ||
</logger> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="ASYNCSTDOUT" /> | ||
</root> | ||
|
||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.