Skip to content

Commit 335979f

Browse files
Mikhail Galaninbukka
authored andcommitted
Add a bit verbosity in FPM logs
1 parent 386a044 commit 335979f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_stdio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ static void fpm_stdio_child_said(struct fpm_event_s *ev, short which, void *arg)
218218
zlog_stream_finish(log_stream);
219219
}
220220
if (read_fail < 0) {
221-
zlog(ZLOG_SYSERROR, "unable to read what child say");
221+
zlog(ZLOG_SYSERROR, "unable to read what child %d said into %s", (int) child->pid, is_stdout ? "stdout" : "stderr");
222222
}
223223

224224
fpm_event_del(event);

0 commit comments

Comments
 (0)