[pgpool-general: 2533] Re: log help

Tatsuo Ishii ishii at postgresql.org
Wed Feb 5 08:57:15 JST 2014


From: Gonzalo Gil <gonxalo2000 at gmail.com>
Subject: [pgpool-general: 2522] log help
Date: Mon, 3 Feb 2014 10:03:29 -0200
Message-ID: <CA+=kkU_VhNv5nU9OkXUtNPtXH4UEStMMPvy1kqa7wHiM8FDg+A at mail.gmail.com>

> Hello everybody.
> 
> i have some issues triyng to get log from pgpool.
> 
> i was testing pgpool from pgpooladmin and i get log file in the path that i
> especify in pgpool.conf.
> 
> 1. i used to run it like this....
> 
> pgpool -n -d > /var/log/pgpool/pgpool.log 2>&1
> 
> in pgpool.conf i have:
> logdir = '/var/log/pgpool'
> 
> and obviously i get the log.
> 
> 2. now, i'm starting it from pgpoolAdmin page, and i still get the log.
> 
> 3. when i try....
> 
> service pgpool-II-90 start
> 
> the service starts, it writes /var/log/pgpool-II-90.log (with an exit code
> 0) but no other log is written.
> 
> is this correct? i can't get the log when i run pgpool as a service??

That depends the init script you are using. You'd better ask the
packager who created the package containing "pgpool-II-90".

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the pgpool-general mailing list