File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1194,15 +1194,15 @@ static int fpm_conf_post_process(int force_daemon TSRMLS_DC) /* {{{ */
1194
1194
return -1 ;
1195
1195
}
1196
1196
1197
- if (0 > fpm_log_open ( 0 )) {
1197
+ if (0 > fpm_event_pre_init ( fpm_global_config . events_mechanism )) {
1198
1198
return -1 ;
1199
1199
}
1200
1200
1201
- if (0 > fpm_event_pre_init ( fpm_global_config . events_mechanism )) {
1201
+ if (0 > fpm_conf_process_all_pools ( )) {
1202
1202
return -1 ;
1203
1203
}
1204
1204
1205
- if (0 > fpm_conf_process_all_pools ( )) {
1205
+ if (0 > fpm_log_open ( 0 )) {
1206
1206
return -1 ;
1207
1207
}
1208
1208
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ int fpm_log_open(int reopen) /* {{{ */
46
46
if (0 > fd ) {
47
47
zlog (ZLOG_SYSERROR , "failed to open access log (%s)" , wp -> config -> access_log );
48
48
return -1 ;
49
+ } else {
50
+ zlog (ZLOG_DEBUG , "open access log (%s)" , wp -> config -> access_log );
49
51
}
50
52
51
53
if (reopen ) {
Original file line number Diff line number Diff line change 131
131
132
132
; Per pool prefix
133
133
; It only applies on the following directives:
134
+ ; - 'access.log'
134
135
; - 'slowlog'
135
136
; - 'listen' (unixsocket)
136
137
; - 'chroot'
You can’t perform that action at this time.
0 commit comments