ErrorLogFormat by default does not log the http verb/request method or URI/QueryString. It doesn't appear to have optional parameters either. Being able to log these would greatly help with monitoring / debugging.
Have a look at %L in https://httpd.apache.org/docs/2.4/mod/core.html#errorlogformat and https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#formats. This allows you to tag access log entries and error messages with a common unique id and correlate them.
Thanks for the suggestion. The L approach is far from ideal for us and probably others. 1. We are upgrading system and will have old and new running in parallel across server farm. 2. We have existing code which takes apache access logs and parses. So we would have to modify old and new code to handle L parameter in access logs and also handle the L parameter not being there. When investigating issues constantly having to lookup IDs in another file is not ideal.