You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/07/05 21:39:14 UTC

[Bug 55193] ErrorLogFormat is ignored by some modules

https://issues.apache.org/bugzilla/show_bug.cgi?id=55193

Dave <da...@alfar.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|trivial                     |minor

--- Comment #1 from Dave <da...@alfar.co.uk> ---
Update to report: the bug applies to all logging that uses ap_log_perror().

ErrorLogFormat is not applied when using ap_log_perror(): no server_rec is
passed to log_error_core(), meaning sconf is never set and therefore
sconf->error_log_format not used.

Much more elegant solution than proposed patch is simply to supply
ap_server_core inside ap_log_perror_() in server/log.c:

-    log_error_core(file, line, module_index, level, status, NULL, NULL, NULL,
+    log_error_core(file, line, module_index, level, status, ap_server_core,
NULL, NULL,

(fixes for me)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org