AEM Cloud request Log requestId
Hi,
aem request.log file includes a requestId. Please find example below.
I would like to know if If there is a kind of global getter in AEM to get that requestId and use it in my own log statements in order to be able to identify what log messages belong to which request ?
30/Oct/2023:00:02:17 +0000 [4076] -> HEAD /libs/granite/security/currentuser.json HTTP/1.1 [cm-p43804-e183487-aem-publish-76466d7cb6-dzgms]
30/Oct/2023:00:02:17 +0000 [4076] <- 200 application/json 3ms [cm-p43804-e183487-aem-publish-76466d7cb6-dzgms]
Thanks a lot for your support in advance.
--
Volker