[
https://issues.apache.org/jira/browse/KARAF-7965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antti Nevala updated KARAF-7965:
--------------------------------
Summary: Log service can't find ROOT logger and doesn't support variable
substitution when using Logback logging backend (was: Log service can't find
ROOT logger and doesn't support variable substitution for levels when using
Logback logging backend)
> Log service can't find ROOT logger and doesn't support variable substitution
> when using Logback logging backend
> ---------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-7965
> URL: https://issues.apache.org/jira/browse/KARAF-7965
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.4.7
> Reporter: Antti Nevala
> Priority: Minor
>
> 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 message was sent by Atlassian Jira
(v8.20.10#820010)