Update to version 4.x and update to SLF4J 2.x and Logback 1.4

This commit is contained in:
Stephan Schnabel 2022-09-13 14:13:01 +02:00
parent eb22b5a309
commit 73ea6c7b60
Signed by: stephan.schnabel
GPG key ID: E07AF5BA239FE543
11 changed files with 121 additions and 53 deletions

View file

@ -2,7 +2,7 @@
## Available Appender
* console with jansi for developers
* console for developers
* gcp logging format (with support for error reporting)
* json
@ -12,5 +12,3 @@
2. if GCP is detected gcp appender will be used
3. if Kubernetes is detected json appender will be used
4. console appender else
*IMPORTENT*: only works without custom `logback.xml`

View file

@ -4,14 +4,12 @@ If no `logback.xml` by user is provided a default [logback.xml](../../src/main/r
```xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="true" scan="false">
<include resource="io/kokuwa/logback/base.xml" />
<configuration debug="false" scan="false">
<logger name="io.micronaut.logging.PropertiesLoggingLevelsConfigurer" levels="WARN" />
<root level="INFO">
<appender-ref ref="${LOGBACK_APPENDER:-CONSOLE}" />
<autoAppender />
</root>
</configuration>