[ 
https://issues.apache.org/jira/browse/LOG4J2-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135217#comment-13135217
 ] 

scott deboy commented on LOG4J2-28:
-----------------------------------

I'm suggesting there are a number of use cases which are supported in log4j 1.2 
that I think should be supported going forward, and some new ones, around the 
ability to add name/value pairs to logging events.  

There are a few use cases: deployment-time definition of properties, definition 
of properties at event generation time, and threadlocal-associated properties.  
There may be more.

The example I provided was one we support today: the ability to add hostname 
and app name properties to all events generated by a fileappender via 
configuration.


                
> Increased support for properties
> --------------------------------
>
>                 Key: LOG4J2-28
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-28
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: API
>            Reporter: Curt Arnold
>
> On Dec 3, 2008, at 10:22 PM, Scott Deboy wrote on log4j-dev:
> ...
> Whatever we do moving forward, I'd like to see increased support for 
> properties.  MDC and NDC are useful, but something that isn't thread specific 
> would be useful (one reason why property rewrite policy/rewriteappender were 
> created was to get around this limitation).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to