Where are you wanting to do this?  In a pattern in the pattern layout you just 
use %X{app name} as you show below.  In many places you can use ${mdc:name}.

Ralph


On Feb 15, 2013, at 12:02 PM, Yogi Nerella wrote:

> Hi,
> 
> I want to replace some constant strings with the MDC.context() values?
> 
> Does regularexpress replace support this?
> 
> Ex:
> %replace{%msg}{myappname}{%X{appname}}
> 
> Thanks
> Yogi


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

Reply via email to