Log4net
  1. Log4net
  2. LOG4NET-38

EventLogAppender: Add support for setting the Category on Event Log messages.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.11
    • Component/s: Appenders
    • Labels:
      None

      Description

      The EventLog supports Categories for each message. A category is a short integer.

      This could either be implemented as a fixed category value defined on the appender at config time, or as a value read from the LoggingEvent properties. The second option is more flexible as it allows the category to be specified for each message, a default category could still be specified in the appender configuration to allow for scenario 1 as well.

        Issue Links

          Activity

          Nicko Cadell created issue -
          Ron Grabowski made changes -
          Field Original Value New Value
          Link This issue is related to LOG4NET-129 [ LOG4NET-129 ]
          Ron Grabowski made changes -
          Assignee Ron Grabowski [ ron ]
          Ron Grabowski made changes -
          Fix Version/s 1.2.11 [ 12310980 ]
          Ron Grabowski made changes -
          Link This issue incorporates LOG4NET-214 [ LOG4NET-214 ]
          Isaac Devine made changes -
          Attachment add_category_for_EventLogAppender.patch [ 12490624 ]
          Stefan Bodewig made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Ron Grabowski
              Reporter:
              Nicko Cadell
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development