@@ -708,7 +708,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
708708 rv = apr_pollset_create (& pollset , num_listensocks , tpool ,
709709 APR_POLLSET_NOCOPY );
710710 if (rv != APR_SUCCESS ) {
711- ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf ,
711+ ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf , APLOGNO ( 03285 )
712712 "Couldn't create pollset in thread;"
713713 " check system or user limits" );
714714 /* let the parent decide how bad this really is */
@@ -725,7 +725,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
725725
726726 rv = apr_pollset_add (pollset , pfd );
727727 if (rv != APR_SUCCESS ) {
728- ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf ,
728+ ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf , APLOGNO ( 03286 )
729729 "Couldn't create add listener to pollset;"
730730 " check system or user limits" );
731731 /* let the parent decide how bad this really is */
@@ -760,7 +760,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
760760 break ; /* we've been signaled to die now */
761761 }
762762 else if (rv != APR_SUCCESS ) {
763- ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf ,
763+ ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf , APLOGNO ( 03287 )
764764 "apr_queue_info_wait failed. Attempting to "
765765 " shutdown process gracefully." );
766766 signal_threads (ST_GRACEFUL );
@@ -942,7 +942,7 @@ static void * APR_THREAD_FUNC worker_thread(apr_thread_t *thd, void * dummy)
942942 rv = ap_queue_info_set_idle (worker_queue_info , last_ptrans );
943943 last_ptrans = NULL ;
944944 if (rv != APR_SUCCESS ) {
945- ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf ,
945+ ap_log_error (APLOG_MARK , APLOG_EMERG , rv , ap_server_conf , APLOGNO ( 03288 )
946946 "ap_queue_info_set_idle failed. Attempting to "
947947 "shutdown process gracefully." );
948948 signal_threads (ST_GRACEFUL );
@@ -1120,7 +1120,7 @@ static void * APR_THREAD_FUNC start_threads(apr_thread_t *thd, void *dummy)
11201120 ++ loops ;
11211121 if (loops % 120 == 0 ) { /* every couple of minutes */
11221122 if (prev_threads_created == threads_created ) {
1123- ap_log_error (APLOG_MARK , APLOG_DEBUG , 0 , ap_server_conf ,
1123+ ap_log_error (APLOG_MARK , APLOG_DEBUG , 0 , ap_server_conf , APLOGNO ( 03289 )
11241124 "child %" APR_PID_T_FMT " isn't taking over "
11251125 "slots very quickly (%d of %d)" ,
11261126 ap_my_pid , threads_created , threads_per_child );
@@ -2031,7 +2031,7 @@ static int worker_open_logs(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
20312031
20322032 if ((num_listensocks = ap_setup_listeners (ap_server_conf )) < 1 ) {
20332033 ap_log_error (APLOG_MARK , APLOG_ALERT | level_flags , 0 ,
2034- (startup ? NULL : s ),
2034+ (startup ? NULL : s ), APLOGNO ( 03290 )
20352035 "no listening sockets available, shutting down" );
20362036 return DONE ;
20372037 }
@@ -2046,7 +2046,7 @@ static int worker_open_logs(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
20462046 if ((rv = ap_duplicate_listeners (pconf , ap_server_conf ,
20472047 & listen_buckets , & num_buckets ))) {
20482048 ap_log_error (APLOG_MARK , APLOG_CRIT | level_flags , rv ,
2049- (startup ? NULL : s ),
2049+ (startup ? NULL : s ), APLOGNO ( 03291 )
20502050 "could not duplicate listeners" );
20512051 return DONE ;
20522052 }
@@ -2055,7 +2055,7 @@ static int worker_open_logs(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
20552055 for (i = 0 ; i < num_buckets ; i ++ ) {
20562056 if ((rv = ap_mpm_podx_open (pconf , & all_buckets [i ].pod ))) {
20572057 ap_log_error (APLOG_MARK , APLOG_CRIT | level_flags , rv ,
2058- (startup ? NULL : s ),
2058+ (startup ? NULL : s ), APLOGNO ( 03292 )
20592059 "could not open pipe-of-death" );
20602060 return DONE ;
20612061 }
@@ -2065,7 +2065,7 @@ static int worker_open_logs(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
20652065 NULL , AP_ACCEPT_MUTEX_TYPE ,
20662066 id , s , pconf , 0 ))))) {
20672067 ap_log_error (APLOG_MARK , APLOG_CRIT | level_flags , rv ,
2068- (startup ? NULL : s ),
2068+ (startup ? NULL : s ), APLOGNO ( 03293 )
20692069 "could not create accept mutex" );
20702070 return DONE ;
20712071 }
@@ -2349,7 +2349,7 @@ static int worker_check_config(apr_pool_t *p, apr_pool_t *plog,
23492349 ap_log_error (APLOG_MARK , APLOG_WARNING | APLOG_STARTUP , 0 , NULL , APLOGNO (03151 )
23502350 " would exceed ServerLimit of %d, decreasing to %d." ,
23512351 server_limit , server_limit * threads_per_child );
2352- ap_log_error (APLOG_MARK , APLOG_WARNING | APLOG_STARTUP , 0 , NULL ,
2352+ ap_log_error (APLOG_MARK , APLOG_WARNING | APLOG_STARTUP , 0 , NULL , APLOGNO ( 03294 )
23532353 " To increase, please see the ServerLimit "
23542354 "directive." );
23552355 } else {
0 commit comments