logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toby (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-391) XmlLayoutSchemaLog4j does permit logging without properties
Date Tue, 01 Oct 2013 14:21:23 GMT
Toby created LOG4NET-391:
----------------------------

             Summary: XmlLayoutSchemaLog4j does permit logging without properties
                 Key: LOG4NET-391
                 URL: https://issues.apache.org/jira/browse/LOG4NET-391
             Project: Log4net
          Issue Type: Bug
          Components: Other
    Affects Versions: 1.2.12
         Environment: Any
            Reporter: Toby


When using the XmlLayoutSchemaLog4j properties are logged on a per line basis.  Most of the
properties are common across all lines and it is inefficient to log a large amount of repetitive
data.

Log4j resolves this issue with a 'Properties' flag used to indicate whether properties should
be logged [1].   Log4net has no such property [2].  ...but it should.

[1] - https://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_17/src/main/java/org/apache/log4j/xml/XMLLayout.java

[2] http://svn.apache.org/repos/asf/logging/log4net/tags/log4net-1_2_9/src/Layout/XmlLayoutSchemaLog4j.cs





--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message