com php-src: add more info into the FPM log: sapi/fpm/fpm/fpm _stdio.c
| From: | Antony Dovgal | Date: | Thu, 12 Dec 2013 08:47:43 +0000 |
| Subject: | com php-src: add more info into the FPM log: sapi/fpm/fpm/fpm _stdio.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76625@lists.php.net to get a copy of this message | ||
Commit: 5fb26a96d1dcbd929f3adb9ca768c5423b0f89cc
Author: Antony Dovgal <tony2001@php.net> Sun, 8 Dec 2013 20:47:30 +0400
Parents: e62047d0824e62c48ed3c78d330553320bbf167f
Branches: badoo-5.5_mysqlnd
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5fb26a96d1dcbd929f3adb9ca768c5423b0f89cc
Log:
add more info into the FPM log
Changed paths:
M sapi/fpm/fpm/fpm_stdio.c
Diff:
diff --git a/sapi/fpm/fpm/fpm_stdio.c b/sapi/fpm/fpm/fpm_stdio.c
index d81e101..5db4794 100644
--- a/sapi/fpm/fpm/fpm_stdio.c
+++ b/sapi/fpm/fpm/fpm_stdio.c
@@ -117,7 +117,7 @@ static void fpm_stdio_child_said(struct fpm_event_s *ev, short which, void *arg)
} else { /* error or pipe is closed */
if (res < 0) { /* error */
- zlog(ZLOG_SYSERROR, "unable to read what child say");
+ zlog(ZLOG_SYSERROR, "unable to read what child %d said into %s", (int)
child->pid, is_stdout ? "stdout" : "stderr");
}
fpm_event_del(event);