[Pgpool-hackers] Logging failure

Tatsuo Ishii ishii at sraoss.co.jp
Thu Oct 22 09:03:36 UTC 2009


Devrim,

What do you think? It seems Toshihiro's complain is
reasonable. 

Problem with current script is, nothing is logged to
$PGPOOLLOG. This is due to: 1) wrong position of & 2) -n option is not
passed to pgpool (this is neccessary to log anything to the logfile).
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> Hi,
> 
> I thought a bug was in the init script.
> 
> Below will fail redirection on Bash.
> And OPTS parameter isn't set anywhere.
> 
>   $PGPOOLDAEMON -f $PGPOOLCONF $OPTS & >> "$PGPOOLLOG" 2>&1 < /dev/null
> 
> My idea of modification
> 
>   $PGPOOLDAEMON -f $PGPOOLCONF -n >> "$PGPOOLLOG" 2>&1 < /dev/null &
> 
> Regards
> 
> -- 
> Toshihiro Kitagawa
> SRA OSS, Inc. Japan
> 
> _______________________________________________
> Pgpool-hackers mailing list
> Pgpool-hackers at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pgpool-hackers


More information about the Pgpool-hackers mailing list