]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - httpd-2.0.48-debuglog.patch
- Up to 2.4.52
[packages/apache.git] / httpd-2.0.48-debuglog.patch
index 6fac4e20f47abee3447efc02d9c3d80753347009..06c55a165f6a23951dbda022438b5a847d3f8cd0 100644 (file)
@@ -11,15 +11,16 @@ Note this patch depends on the pie patch.
 
 --- httpd-2.0.48/include/http_log.h.debuglog
 +++ httpd-2.0.48/include/http_log.h
-@@ -130,7 +130,11 @@
- extern int AP_DECLARE_DATA ap_default_loglevel;
+@@ -280,7 +280,11 @@
+  * @see ap_log_rerror
+  * @see ap_log_cserror
+  */
 +#ifdef AP_FNAME
-+#define APLOG_MARK      AP_FNAME,__LINE__
++#define APLOG_MARK     AP_FNAME,__LINE__,APLOG_MODULE_INDEX
 +#else
- #define APLOG_MARK    __FILE__,__LINE__
+ #define APLOG_MARK     __FILE__,__LINE__,APLOG_MODULE_INDEX
 +#endif
  
  /**
   * Set up for logging to stderr.
+