I have turned on mod_unique_id for my apache server and the apache logs show that the unique_id is indeed being logged. Also, I can now access $_SERVER['UNIQUE_ID'] via PHP through the $_SERVER superglobals array.
My question is, how can I make PHP log UNIQUE_ID for every log entry? It seems I can control it with my custom log entries, but I also want UNIQUE_ID logged for fatals where php cannot compile the code etc.
Thanks.