Logging request ID for log entry in custom plugin edgemicro

I'm trying to log some headers and want to associate the request ID for log entry(i) also along with that. I'm unable to find the variable to be given for i. PFB the code.

onrequest: function(req, res, next) {

logger.info("x-request-id=" +req.headers['x-request-id'],"x-application-id=" +req.headers['x-application-id'], "i=");

0 0 178
0 REPLIES 0