-
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
49 additions
and
1 deletion.
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
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,40 @@ | ||
<configuration> | ||
<!-- | ||
This is the test logging configuration and won't be on | ||
the classpath when running in production. | ||
For prod or other use cases, set the path to an alternative | ||
config using | ||
java -Dlogback.configurationFile=/path/to/config.xml ... | ||
See https://logback.qos.ch/manual/configuration.html | ||
--> | ||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>logs/test.log</file> | ||
|
||
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder"> | ||
<layout class="ch.qos.logback.contrib.json.classic.JsonLayout"> | ||
<timestampFormat>yyyy-MM-dd'T'HH:mm:ss.SSS'Z'</timestampFormat> | ||
<timestampFormatTimezoneId>UTC</timestampFormatTimezoneId> | ||
<appendLineSeparator>true</appendLineSeparator> | ||
<jsonFormatter class="ch.qos.logback.contrib.jackson.JacksonJsonFormatter"> | ||
<prettyPrint>false</prettyPrint> | ||
</jsonFormatter> | ||
</layout> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="ch.qos.logback" level="WARN" /> | ||
<logger name="org.eclipse.jetty" level="INFO" /> | ||
<logger name="org.eclipse.jetty.server" level="WARN" /> | ||
<logger name="org.eclipse.jetty.util.log" level="WARN" /> | ||
<logger name="com.baeldung.httpclient.readresponsebodystring" level="DEBUG"/> | ||
<logger name="org.apache.http" level="DEBUG"/> | ||
<logger name="org.apache.hc.client5.http" level="DEBUG"/> | ||
<logger name="org.apache.xml.security" level="INFO" /> | ||
<logger name="nl.surf.eduhub-rio-mapper.http-utils" level="TRACE" /> | ||
<root level="debug"> | ||
<appender-ref ref="FILE" /> | ||
</root> | ||
</configuration> |