vy commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901639026
I will back at my desk in a week or so, then I will be able to review this PR. I'd appreciate holding this PR on hold until then. Alireza, are you sure you understand Carter's suggestion right? I am surprised at how promptly you concluded that it is not gonna work for you given that feature is yet to be released in 2.15.0. JTL's plugin support enables you to introduce any custom serialization logic within a method accepting a `LogEvent` and a 'JsonWriter`. I am curious what can be more easier and customizable than this. On Thu, 19 Aug 2021, 08:52 Alireza Vahedi ***@***.***> wrote: > imagine I need to log some value out of LogEvent context and based on some > logic at runtime, for example generate an activityId, digest value or > something like that at runtime. > > Couldn't you implement these using a custom TemplateResolver to define > additional components? > > Yes we can, but it is more complex way. I amaze why we have implemented > some complex approach instead of define just one model class as simplest > way we can to use. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/apache/logging-log4j2/pull/562#issuecomment-901630304>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAARTSLTQS6LRAPLSCCNXJ3T5SLZTANCNFSM5CK2VPRA> > . > -- 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]
