From: pengbo Date: Sun, 26 Feb 2017 02:27:27 +0000 (+0900) Subject: Redirect stdout, stderr to log file while starting Pgpool-II without running in daemo... X-Git-Tag: V3_6_0~3 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=d1db58f6b08c8d3409d0bcecd1b7234f8a54a9f2;p=pgpooladmin.git Redirect stdout, stderr to log file while starting Pgpool-II without running in daemon mode. --- diff --git a/status.php b/status.php index bb3ace9..33ccf79 100644 --- a/status.php +++ b/status.php @@ -249,7 +249,7 @@ function _setStartArgs() if (isPipe($pgpoolLog)) { $args[] = "2>&1 > $pgpoolLog &"; } else { - $args[] = "> $pgpoolLog &"; + $args[] = "> $pgpoolLog 2>&1 &"; } } break;