[logback-dev] [JIRA] Updates for LOGBACK-1627: online translator from Log4.properties doesn't work
QOS.CH (JIRA)
noreply-jira at qos.ch
Sun Apr 10 08:27:00 CEST 2022
logback / LOGBACK-1627 [Open]
online translator from Log4.properties doesn't work
==============================
Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.
View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1627
==============================
Issue created
------------------------------
Eugene Klimov created this issue on 10/Apr/22 8:15 AM
Summary: online translator from Log4.properties doesn't work
Issue Type: Bug
Assignee: Logback dev list
Components: Translator
Created: 10/Apr/22 8:15 AM
Priority: Major
Reporter: Eugene Klimov
Description:
open in browser https://logback.qos.ch/translator/
paste
{code:java}
zookeeper.root.logger=CONSOLE
zookeeper.console.threshold=WARN
log4j.rootLogger=${zookeeper.root.logger}
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=${zookeeper.console.threshold}
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} [myid:%X{myid}] - %-5p [%t:%C{1}@%L] - %m%n
{code}
press "Translate"
got
{code:xml}
<?xml version="1.0" encoding="UTF-8"?><!-- Built in 2022-04-10 06:13 by logback-translator -->
<!-- -->
<!-- For sponsoring SLF4J/logback/reload4j projects see -->
<!-- https://github.com/sponsors/qos-ch -->
<!-- -->
<configuration>
<root level="${zookeeper.root.logger}"/>
</configuration>
{code}
exptected properly translated `console.threshold` and `appener.CONSOLE.layout`
==============================
This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
More information about the logback-dev
mailing list