Skip to content

Commit

Permalink
fix indentation in xml
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed Sep 6, 2024
1 parent b7dbdec commit ef88498
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
28 changes: 14 additions & 14 deletions refarch-backend/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@


<springProfile name="json-logging">
<appender name="JSON_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<throwableConverter
class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
<!-- default max size of one log line in docker is 16kb - UTF8 ~ 1 Character = 1 Byte -->
<!-- therefore limit stack_traces to a maximum of 8192 characters (to leave room for the rest of the message) -->
<maxLength>8192</maxLength>
<exclude>sun\.reflect\..*\.invoke.*</exclude>
<exclude>net\.sf\.cglib\.proxy\.MethodProxy\.invoke</exclude>
<rootCauseFirst>true</rootCauseFirst>
</throwableConverter>
</encoder>
</appender>

<appender name="JSON_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<throwableConverter
class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
<!-- default max size of one log line in docker is 16kb - UTF8 ~ 1 Character = 1 Byte -->
<!-- therefore limit stack_traces to a maximum of 8192 characters (to leave room for the rest of the message) -->
<maxLength>8192</maxLength>
<exclude>sun\.reflect\..*\.invoke.*</exclude>
<exclude>net\.sf\.cglib\.proxy\.MethodProxy\.invoke</exclude>
<rootCauseFirst>true</rootCauseFirst>
</throwableConverter>
</encoder>
</appender>

<!-- Logger usage -->
<root level="info">
Expand Down
8 changes: 4 additions & 4 deletions refarch-eai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>

<!-- Logging -->
<dependency>
Expand Down
28 changes: 14 additions & 14 deletions refarch-eai/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@


<springProfile name="json-logging">
<appender name="JSON_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<throwableConverter
class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
<!-- default max size of one log line in docker is 16kb - UTF8 ~ 1 Character = 1 Byte -->
<!-- therefore limit stack_traces to a maximum of 8192 characters (to leave room for the rest of the message) -->
<maxLength>8192</maxLength>
<exclude>sun\.reflect\..*\.invoke.*</exclude>
<exclude>net\.sf\.cglib\.proxy\.MethodProxy\.invoke</exclude>
<rootCauseFirst>true</rootCauseFirst>
</throwableConverter>
</encoder>
</appender>

<appender name="JSON_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<throwableConverter
class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
<!-- default max size of one log line in docker is 16kb - UTF8 ~ 1 Character = 1 Byte -->
<!-- therefore limit stack_traces to a maximum of 8192 characters (to leave room for the rest of the message) -->
<maxLength>8192</maxLength>
<exclude>sun\.reflect\..*\.invoke.*</exclude>
<exclude>net\.sf\.cglib\.proxy\.MethodProxy\.invoke</exclude>
<rootCauseFirst>true</rootCauseFirst>
</throwableConverter>
</encoder>
</appender>

<!-- Logger usage -->
<root level="info">
Expand Down

0 comments on commit ef88498

Please sign in to comment.