【logback官方利器】
log4j.properties to logback.xml Translator
log4j.properties to logback.xml Translator
This page allows you to translate a log4j.properties file into a logback.xml configuration file. The resulting logback.xml file targets logback version 0.9.19 or later.
Just paste the content of your log4j.properties file in the text area below and click translate.
Please note that only appenders referenced by a logger will be translated. Any appender not referenced by a logger will be ignored by the translator. Translation of log4j.xml files are not supported.