ppkarwasz commented on PR #2667:
URL: https://github.com/apache/logging-log4j2/pull/2667#issuecomment-2172962463

   Using the features currently provided by `PluginBuilder` a possible 
alternative approach to introduce lookups in event templates would be:
   
   1. Replace the `@PluginAttribute(value = "eventTemplate")` annotation with 
`@PluginValue(value = "eventTemplate", substitute = false)` to prevent 
`PluginBuilder` from expanding the lookups in an inlined event template.
   2. Apply property substitution manually to the event template in a JSON-safe 
way.
   


-- 
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