Update to version 4.x and update to SLF4J 2.x and Logback 1.4
This commit is contained in:
parent
eb22b5a309
commit
73ea6c7b60
11 changed files with 121 additions and 53 deletions
|
@ -2,8 +2,8 @@
|
|||
<included>
|
||||
|
||||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<withJansi>${CONSOLE_LOG_JANSI:-true}</withJansi>
|
||||
<encoder>
|
||||
<withJansi>${CONSOLE_LOG_JANSI:-false}</withJansi>
|
||||
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
|
||||
<pattern>${CONSOLE_LOG_PATTERN:-%cyan(%d{HH:mm:ss.SSS}) %gray(%-6.6thread) %highlight(%-5level) %magenta(%32logger{32}) %mdc %msg%n}</pattern>
|
||||
<charset>${CONSOLE_LOG_CHARSET:-default}</charset>
|
||||
</encoder>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<included>
|
||||
|
||||
<include resource="io/kokuwa/logback/appender-console.xml" />
|
||||
<include resource="io/kokuwa/logback/appender-json.xml" />
|
||||
<include resource="io/kokuwa/logback/appender-gcp.xml" />
|
||||
|
||||
</included>
|
|
@ -1,8 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="false" scan="false">
|
||||
|
||||
<include resource="io/kokuwa/logback/base.xml" />
|
||||
|
||||
<logger name="io.micronaut.logging.PropertiesLoggingLevelsConfigurer" levels="WARN" />
|
||||
|
||||
<root level="INFO">
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="true" scan="false">
|
||||
|
||||
<include resource="io/kokuwa/logback/base.xml" />
|
||||
<include resource="io/kokuwa/logback/appender-console.xml" />
|
||||
<include resource="io/kokuwa/logback/appender-json.xml" />
|
||||
<include resource="io/kokuwa/logback/appender-gcp.xml" />
|
||||
|
||||
<logger name="io.micronaut.logging.PropertiesLoggingLevelsConfigurer" levels="WARN" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue