Enabling the Log4j 1.x bridge

2.8k Views Asked by At

How to set the system property “log4j1.compatibility” to a value of “true” and How to set the Log4j 1 system property “log4j.configuration” to the location of the log4j 1 configuration file. I have tried through command line prompt the following command

java -Dlog4j1.compatibility="true" and java -Dlog4j.configuration="file:C:Users\Public\log4j.xml"

0

There are 0 best solutions below