I use just Log4j1ConfigurationParser.java from 2.17.1 bridge, don't use
other files.
Source log4j1 properties:
log4j.rootLogger=DEBUG,ConsoleLogger,FileLogger,GenesysAppender
log4j.appender.ConsoleLogger.Threshold=INFO
Generated by Log4j1ConfigurationParser log4j2 xml:
Hello Sam,
Do you have an example configuration that works in log4j 1 but not with the
log4j 2 bridge for 1.2?
You should also make sure you test with 2.17.1 and try 2.17.2-snapshot
which contains important fixes to the bridge.
Gary
On Tue, Jan 11, 2022, 16:29 Sam.Mesh wrote:
> Hello,
>
> It
Hello,
It looks like Log4j1ConfigurationParser doesn't consider
log4j.appender.ConsoleLogger.Threshold to provide logging level for the
console.
Probably, this could be achieved like described at
https://logging.apache.org/log4j/log4j-2.0/faq.html#config_sep_appender_level
?
Thanks,
Sam