forked from eugenp/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use standard logback.xml (eugenp#1666)
* upgrade to spring boot 1.5.2 * add full update to REST API * modify ratings controller * upgrade herold * fix integration test * fix integration test * minor fix * fix integration test * fix integration test * minor cleanup * minor cleanup * remove log4j properties * use standard logbook.xml
- Loading branch information
Showing
61 changed files
with
698 additions
and
593 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 |
---|---|---|
@@ -1,16 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- <logger name="org.springframework" level="WARN" /> --> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,23 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<Pattern> | ||
%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n | ||
</Pattern> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
</layout> | ||
</appender> | ||
|
||
<logger name="com.baeldung.apache.velocity.service" level="debug" | ||
additivity="false"> | ||
<appender-ref ref="STDOUT" /> | ||
</logger> | ||
|
||
<root level="error"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,18 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg %n</pattern> | ||
</layout> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="com.baeldung.hazelcast" level="INFO" additivity="false"> | ||
<appender-ref ref="STDOUT" /> | ||
</logger> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="DEBUG"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,16 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- <logger name="org.springframework" level="WARN" /> --> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT"/> | ||
<appender-ref ref="STDOUT" /> | ||
</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,16 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- <logger name="org.springframework" level="WARN" /> --> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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 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,20 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,20 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |
29 changes: 14 additions & 15 deletions
29
handling-spring-static-resources/src/main/resources/logback.xml
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,20 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,18 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg %n</pattern> | ||
</layout> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="com.baeldung.hazelcast" level="INFO" additivity="false"> | ||
<appender-ref ref="STDOUT" /> | ||
</logger> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="DEBUG"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,17 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="org.apache.http" level="DEBUG" /> | ||
<logger name="org.apache.http.wire" level="INFO" /> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</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,20 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<logger name="org.springframework" level="WARN" /> | ||
<logger name="org.springframework.transaction" level="WARN" /> | ||
|
||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
<!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||
<logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |
Oops, something went wrong.