-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create application-logger-oxalistwo.xml
- Loading branch information
Thomas Werkmeister
committed
May 20, 2016
1 parent
4c402f7
commit 54eb665
Showing
1 changed file
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<configuration> | ||
<conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel" /> | ||
|
||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>/var/log/standalone-datastore-master/standalone-datastore-master.log</file> | ||
<encoder> | ||
<pattern>%date - [%level] - from %logger in %thread %n%message%n%xException%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>DEBUG</level> | ||
</filter> | ||
<encoder> | ||
<pattern>%date - [%level] - %message%n%xException{5}</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="play" level="WARN" /> | ||
<logger name="application" level="TRACE" /> | ||
<logger name="braingames.binary" level="TRACE" /> | ||
<logger name="braingames.datastore" level="TRACE" /> | ||
|
||
<root level="WARN"> | ||
<appender-ref ref="STDOUT" /> | ||
<appender-ref ref="FILE" /> | ||
</root> | ||
</configuration> |