API to get request id of user request which gets displayed in logs

Hi All,

In the nohup.out MWS log file present at <WM_INSTALL>/server/default/bin/ location, I can see the logs are written as given below:

Could you please tell me -

  1. In which file, the format of this log text is specified?

  2. Which API I need to use to get RID (displayed above) in my backing bean / page bean? ( Tried using this.getRequestId() in my backing bean which extends BaseTaskInboxResultPageBean, but always returning value ‘null’)

Kind regards,
Raja sekhar Kintali