barclay
barclay

Reputation: 4552

How to configure log4j 1.2 using xml

I am stuck with legacy code that uses log4j 1.2.12, and am trying to resolve some errors it is throwing about appenders. I cannot find documentation for log4j 1.2 - I keep getting redirected to log4j 2. Nice, but not helpful. The main documentation for 1.2 doesn't have any sample xml. If anybody can point me to good documentation on this I would really appreciate it.

Upvotes: 11

Views: 32618

Answers (1)

Michael Wyraz
Michael Wyraz

Reputation: 3808

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

The wiki is in maintenance at the moment, so I cannot 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

Upvotes: 15

Related Questions