Skip to content
Snippets Groups Projects
Commit f4aac86a authored by Igor Filippov (EPAM)'s avatar Igor Filippov (EPAM)
Browse files

update logback.xml

parent fd9edf38
No related branches found
No related tags found
Loading
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
<configuration> <configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> <include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<springProfile name="local"> <springProfile name="local">
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%yellow([%thread]) %highlight(| %-5level |) %green(%d) %cyan(| %logger{15} |) %highlight(%msg) %n</pattern>
<charset>utf8</charset>
</encoder>
</appender>
<root level="DEBUG"> <root level="DEBUG">
<appender-ref ref="CONSOLE"/> <appender-ref ref="CONSOLE"/>
</root> </root>
...@@ -17,7 +21,7 @@ ...@@ -17,7 +21,7 @@
<timestampFormatTimezoneId>Etc/UTC</timestampFormatTimezoneId> <timestampFormatTimezoneId>Etc/UTC</timestampFormatTimezoneId>
<appendLineSeparator>true</appendLineSeparator> <appendLineSeparator>true</appendLineSeparator>
<jsonFormatter class="ch.qos.logback.contrib.jackson.JacksonJsonFormatter"> <jsonFormatter class="org.opengroup.osdu.core.gcp.logging.formatter.GoogleJsonFormatter">
<prettyPrint>false</prettyPrint> <prettyPrint>false</prettyPrint>
</jsonFormatter> </jsonFormatter>
</layout> </layout>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment