Skip Menu |

This queue is for tickets about the Log-Log4perl-Layout-XMLLayout CPAN distribution.

Report information
The Basics
Id: 20041
Status: new
Priority: 0/
Queue: Log-Log4perl-Layout-XMLLayout

People
Owner: Nobody in particular
Requestors: squiker [...] zonnet.nl
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: Log4J configuration files can not be used.
When using a Log4J log configuration file with Log4Perl the XMLLayout File appender can not be used. This is caused by the fact that the Log4J xml file appender is in package org.apache.log4j.xml.XMLLayout not org.apache.log4j.XMLLayout as is assumed by Config.pm e.g. using the following in the configuration file causes the error: <appender name="XMLFILELOGGER" class="org.apache.log4j.FileAppender"> <param name="File" value="logit.xml"/> <layout class="org.apache.log4j.xml.XMLLayout"> <param name="LocationInfo" value="false"/> </layout> </appender> A dirty hack fix (see sub add_layout_by_name) is added to this PR. For this dirty fix to work the XMLLayout also needs to be pressent in a xml folder.
Subject: Config.pm

Message body is not shown because it is too large.