When a page has more than one external components, Is there request context parameter passed to various externals same or different?
If a page has more than one component with external java code invoked and each external class will have few logging statements. Is there a way that I can append (request) context information to each log.
One way to do that is
MDC.put("context", "<Some Unique Identifier>);
This I have to add in all components to make it work for all logging statements. Is there a way I can do the same for each unique page rendering request coming to livesite and it will be applied to logging for all external component calls for the page.
Is there any entry in livesite to give unique id to each page request and log in the some logs.