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

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

In order to use this pattern use %aspnet-ipaddress


Example:
  <appender name="DebugAppender" type="log4net.Appender.DebugAppender" >
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="User: %identity IP: %aspnet-ipaddress%newline" 
/>
    </layout>
  </appender>

> 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