@@ -1177,6 +1177,7 @@ static void log_error_core(const char *file, int line, int module_index,
11771177
11781178 info .s = s ;
11791179 info .c = c ;
1180+ info .pool = pool ;
11801181 info .file = NULL ;
11811182 info .line = 0 ;
11821183 info .status = 0 ;
@@ -1268,8 +1269,7 @@ static void log_error_core(const char *file, int line, int module_index,
12681269 * prefix and suffix.
12691270 */
12701271 errstr [errstr_end ] = '\0' ;
1271- ap_run_error_log (file , line , module_index , level , status , s , c , r ,
1272- pool , errstr + errstr_start );
1272+ ap_run_error_log (& info , errstr + errstr_start );
12731273 }
12741274
12751275 * errstr = '\0' ;
@@ -1763,11 +1763,8 @@ AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val)
17631763}
17641764
17651765AP_IMPLEMENT_HOOK_VOID (error_log ,
1766- (const char * file , int line , int module_index , int level ,
1767- apr_status_t status , const server_rec * s ,
1768- const conn_rec * c , const request_rec * r ,
1769- apr_pool_t * pool , const char * errstr ), (file , line ,
1770- module_index , level , status , s , c , r , pool , errstr ))
1766+ (const ap_errorlog_info * info , const char * errstr ),
1767+ (info , errstr ))
17711768
17721769AP_IMPLEMENT_HOOK_RUN_FIRST (int , generate_log_id ,
17731770 (const conn_rec * c , const request_rec * r ,
0 commit comments