httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55193] ErrorLogFormat is ignored by some modules
Date Fri, 05 Jul 2013 19:39:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55193

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

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

--- Comment #1 from Dave <dave@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


Mime
View raw message