How to configure log4j 1.2 using xml

I am stuck with legacy code that uses log4j 1.2.12 and I am trying to resolve some errors that it throws to appenders. I can not find the documentation for log4j 1.2 - I always redirect to log4j 2. Nice, but not useful. There is no xml sample in the main documentation for 1.2. If anyone can point me to some good documentation on this, I would really appreciate it.

+8
xml log4j
source share
1 answer

The original documentation was available at http://wiki.apache.org/logging-log4j/Log4jXmlFormat

The wiki is currently under maintenance, so I can’t verify that the link is still valid. You will find the document at archive.org: http://web.archive.org/web/20121024061840/http://wiki.apache.org/logging-log4j/Log4jXmlFormat

+7
source share

All Articles