[
https://issues.apache.org/jira/browse/LOG4NET-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086179#comment-13086179
]
Isaac Devine edited comment on LOG4NET-38 at 8/17/11 7:29 AM:
--------------------------------------------------------------
Patch which adds support to the EventLogAppender to include the Category, just
like EventID is currently able to be set.
Defaults to having a Category of 0 as that is what windows defaults to anyway.
was (Author: isaacdevine):
Patch which adds support to the EventLogAppender to include the Category,
just like EventID is current able to be set.
Defaults to having a Category of 0 as that is what windows defaults to anyway.
> EventLogAppender: Add support for setting the Category on Event Log messages.
> -----------------------------------------------------------------------------
>
> Key: LOG4NET-38
> URL: https://issues.apache.org/jira/browse/LOG4NET-38
> Project: Log4net
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 1.2.9
> Reporter: Nicko Cadell
> Assignee: Ron Grabowski
> Priority: Minor
> Fix For: 1.2.11
>
> Attachments: add_category_for_EventLogAppender.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira