These classes may be found in the log4j-1.2-api jarĭistributed with the project. Log4j 2 provides support for the Log4j 1 logging methods by providing alternate implementations Theįiles must have a file extension of either “.properties” or “.xml”. Set the Log4j 1 system property “nfiguration” to the location of the log4j 1 configuration file. Log4j-test.properties, log4j.xml and log4j-test.xml to theĬonfiguration files it searches for on the class path.
0 Comments
Leave a Reply. |