vy commented on issue #4015:
URL: 
https://github.com/apache/logging-log4j2/issues/4015#issuecomment-3699179829

   @Neel1210, where exactly do you want this replacement to occur? That is, are 
you intending to replace _the message_, or the entire string produced by 
`layout.encode(logEvent)`? If the latter is more convenient for you, I'd 
suggest introducing a new layout that delegates to another layout (e.g., 
Pattern Layout) and performs the substitution on its output. This would be a 
better approach in terms of composability, since it works with _any_ layout.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to