Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-391

XmlLayoutSchemaLog4j does permit logging without properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.12
    • None
    • Other
    • None
    • Any

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            tpatke Toby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified