[
https://issues.apache.org/jira/browse/KARAF-7965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-7965:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> 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
> Assignee: Jean-Baptiste Onofré
> 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)