|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (LOG4NET-235) IP Address Pattern ConverterIP 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 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. |
|
|
[jira] Updated: (LOG4NET-235) IP Address Pattern Converter[ https://issues.apache.org/jira/browse/LOG4NET-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Davies updated LOG4NET-235: -------------------------------- Attachment: log4net - IP Address.zip > 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. |
|
|
[jira] Commented: (LOG4NET-235) IP Address Pattern Converter[ 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. |
|
|
[jira] Commented: (LOG4NET-235) IP Address Pattern Converter[ https://issues.apache.org/jira/browse/LOG4NET-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778669#action_12778669 ] Ron Grabowski commented on LOG4NET-235: --------------------------------------- Can you think of a better way to expose properties of HttpContext? Request, Session, Cache, etc. all have a lot of useful properties. Should we code up patterns for each and every possibility or just add them on an added needed basis as the community needs them? > 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. |
|
|
[jira] Commented: (LOG4NET-235) IP Address Pattern Converter[ 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. |
| Free embeddable forum powered by Nabble | Forum Help |