You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2025/11/12 06:51:51 UTC
[I] Log service can't find ROOT logger and doesn't support variable substitution when using Logback logging backend [karaf]
jbonofre opened a new issue, #2147:
URL: https://github.com/apache/karaf/issues/2147
When using logback as logging backend with custom distribution, Karaf fails to find the root logger.
```
karaf@root()> log:get
Logger │ Level
───────┼──────
```
And when issuing `log:set DEBUG` it creates duplicate entry in `logback.xml`:
```
<root level="WARN">
<appender-ref ref="FILE"/>
<appender-ref ref="OSGI"/>
</root>
<root level="DEBUG"/>
```
Also it doesn't support variable substitution e.g.
```
<logger name="test" level="${LOG_LEVEL:-WARN}"/>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Log service can't find ROOT logger and doesn't support variable substitution when using Logback logging backend [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre closed issue #2147: Log service can't find ROOT logger and doesn't support variable substitution when using Logback logging backend
URL: https://github.com/apache/karaf/issues/2147
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org