Remove unused example logback.xml, fix default docs

This commit is contained in:
Stephan Schnabel 2023-05-07 21:58:04 +02:00
parent a5cc2611a6
commit 7f84380840
Signed by: stephan.schnabel
GPG key ID: E07AF5BA239FE543
3 changed files with 6 additions and 21 deletions

View file

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

View file

@ -16,9 +16,6 @@
{ {
"pattern": "\\Qio/kokuwa/logback/logback-default.xml\\E" "pattern": "\\Qio/kokuwa/logback/logback-default.xml\\E"
}, },
{
"pattern": "\\Qio/kokuwa/logback/logback-example.xml\\E"
},
{ {
"pattern": "\\QMETA-INF/services/ch.qos.logback.classic.spi.Configurator\\E" "pattern": "\\QMETA-INF/services/ch.qos.logback.classic.spi.Configurator\\E"
} }

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="true" scan="false">
<include resource="io/kokuwa/logback/base.xml" />
<logger name="io.micronaut.logging.PropertiesLoggingLevelsConfigurer" levels="WARN" />
<root level="INFO">
<appender-ref ref="${LOGBACK_APPENDER:-CONSOLE}" />
</root>
</configuration>