Custom error_log format

Georgi Georgiev georgi at
Mon Jul 3 13:03:31 UTC 2017

I would like to have / to add the $request_id variable in the error_log, but I read that the only possible way is to add it to the source code. Has anyone here an experience with that, which file and what should I add? Or some other workaround?

More information about the nginx mailing list