-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
38 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
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 |
---|---|---|
@@ -1,28 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!-- | ||
Logging Configuration. | ||
--> | ||
<configuration scan="false" debug="false"> | ||
|
||
<configuration> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
|
||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<variable name="LOGBACK_LEVEL" value="${LOGBACK_LEVEL:-INFO}" /> | ||
|
||
<variable name="LOGBACK_LEVEL" value="${LOGBACK_LEVEL:-WARN}" /> | ||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<pattern>%gray(%d{HH:mm:ss.SSS}) %highlight(%-5level) [%green(%-25thread)] %blue(%-40logger{40}) %gray(|) %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>debug</level> | ||
</filter> | ||
<withJansi>true</withJansi> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<!-- <pattern>%d{yyyy-MM-dd HH:mm:ss} [%t] %p %c - %m%n</pattern> --> | ||
<!-- <pattern>%gray(%d{yyyy-MM-dd HH:mm:ss}) %highlight(%p) [%green(%t)] %blue(%c) | %m%n</pattern> --> | ||
<pattern>%gray(%d{HH:mm:ss.SSS}) %highlight(%-5level) [%green(%-25thread)] %blue(%-40logger{40}) %gray(|) %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="httpclient.wire.header" level="WARN" /> | ||
<logger name="org.eclipse.jetty" level="WARN" /> | ||
<logger name="org.fusesource.scalate" level="WARN" /> | ||
<logger name="org.fusesource.scalate" level="WARN" /> | ||
|
||
<logger name="org.fusesource.scalate" level="WARN" /> | ||
<logger name="httpclient.wire.header" level="WARN" /> | ||
|
||
<root level="${LOGBACK_LEVEL}"> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
<root level="${LOGBACK_LEVEL}"> | ||
<appender-ref ref="CONSOLE" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!-- | ||
Logging Configuration. | ||
--> | ||
<configuration scan="false" debug="false"> | ||
|
||
<configuration> | ||
<variable name="LOGBACK_LEVEL" value="${LOGBACK_LEVEL:-DEBUG}" /> | ||
|
||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>debug</level> | ||
</filter> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<!-- <pattern>%d{yyyy-MM-dd HH:mm:ss}, %p, %c, %t %m%n</pattern> --> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%t] %p %c - %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<pattern>%gray(%d{HH:mm:ss.SSS}) %highlight(%-5level) [%green(%-25thread)] %blue(%-40logger{40}) %gray(|) %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="org.fusesource.scalate" level="WARN" /> | ||
<logger name="httpclient.wire.header" level="WARN" /> | ||
<logger name="httpclient.wire.header" level="WARN" /> | ||
<logger name="org.apache.http" level="WARN" /> | ||
<logger name="org.eclipse.jetty" level="WARN" /> | ||
<logger name="org.fusesource.scalate" level="WARN" /> | ||
|
||
<root level="WARN"> | ||
<appender-ref ref="CONSOLE"/> | ||
</root> | ||
<root level="${LOGBACK_LEVEL}"> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
|
||
</configuration> |