You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/04 22:29:02 UTC

[jira] [Updated] (LOG4NET-391) XmlLayoutSchemaLog4j does permit logging without properties

     [ https://issues.apache.org/jira/browse/LOG4NET-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers updated LOG4NET-391:
--------------------------------

LOG4NET is now dormant.  

> XmlLayoutSchemaLog4j does permit logging without properties
> -----------------------------------------------------------
>
>                 Key: LOG4NET-391
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-391
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: 1.2.12
>         Environment: Any
>            Reporter: Toby
>            Priority: Major
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When using the XmlLayoutSchemaLog4j layout 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
(v8.3.4#803005)