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,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`
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue