| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2024-12-09 | 1.2 kB | |
| Request log ID functionality source code.tar.gz | 2024-12-09 | 4.3 MB | |
| Request log ID functionality source code.zip | 2024-12-09 | 4.3 MB | |
| Totals: 3 Items | 8.6 MB | 0 | |
Format Strings added to LogFormat and ErrorLogFormat for Reporting to definitively associate Error record to Access record.
ErrorLogFormat adds %L - Log ID of the request LogFormat adds %L - The request log ID from the error log (or '-' if nothing has been logged to the error log for this request). Look for the matching error log line to see what request caused what error.
Requires Apache mod_unique_id module be loaded. Log ID only generated when error occurs. Not when request occurs. Copied from link:
/*
* There are two ways the generation of a unique id can be triggered:
*
* - from the post_read_request hook which calls set_unique_id()
* - from error logging via the generate_log_id hook which calls
* generate_log_id(). This may happen before or after set_unique_id()
* has been called, or not at all.
*/
https://github.com/omnigroup/Apache/blob/master/httpd/modules/metadata/mod_unique_id.c