2 __FILE__ expands to the full pathname during VPATH builds; this
3 clutters up the debug log (and also bloats binaries very slightly).
4 The -pie patch defines AP_FNAME during build which is equivalent
5 to basename(__FILE__); use that for debug logging where available.
7 AP_FNAME uses $(notdir ...), a GNU make extension, so this can't
10 Note this patch depends on the pie patch.
12 --- httpd-2.4.1/include/http_log.h.orig 2011-12-03 00:19:04.000000000 +0100
13 +++ httpd-2.4.1/include/http_log.h 2012-02-22 00:19:37.989185555 +0100
19 +#define APLOG_MARK AP_FNAME,__LINE__,APLOG_MODULE_INDEX
21 #define APLOG_MARK __FILE__,__LINE__,APLOG_MODULE_INDEX
26 * Set up for logging to stderr.