Liferay Symposium 2016 | Reserve your seat today.
(Opens New Window)
Mark as an Answer
Request unique id
December 10, 2012 1:46 AM
Ruben Martin Pozo
Rank: New Member
Join Date: December 7, 2012
Is there any way to get a request unique id?
We need to log a unique id associated to every request in our production environment. This id has to be unique for the entire request and it has to be available to every portlet that gets executed in that request.
We've tried to create that id ourselves using the Log4j MDC singleton to store it. There are some issues with the classloader structure that prevent us from using this solution.
Sign in to vote.
Please sign in to flag this as inappropriate.