You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Toby (JIRA)" <ji...@apache.org> on 2013/10/01 16:21:23 UTC
[jira] [Created] (LOG4NET-391) XmlLayoutSchemaLog4j does permit
logging without properties
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)