[ 
https://issues.apache.org/jira/browse/LOG4NET-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778703#action_12778703
 ] 

Adam Davies commented on LOG4NET-235:
-------------------------------------

We could create a class to hold all of the properties in which we are 
interested.  Called it HttpContextInfo for lack of a better name, the 
LoggingEvent could contain a property of type HttpContextInfo.  We could 
combine all of the AspNet Patterns into one pattern and use options to display 
properties.

Example
aspnet-cache could become aspnet{cache}

or

aspnet-cache{item} could become aspnet{cache[item]}

> IP Address Pattern Converter
> ----------------------------
>
>                 Key: LOG4NET-235
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-235
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Other
>    Affects Versions: 1.2.10
>            Reporter: Adam Davies
>            Priority: Trivial
>             Fix For: 1.2.10
>
>         Attachments: log4net - IP Address.zip
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Created AspNetIPAddressPatternConverter to provide the client IP Address.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to