[Pgpool-general] PGPool-II logging

Brent Thomson bthomson at getjive.com
Fri Nov 14 21:57:56 UTC 2008


On 11/14/2008 11:50 AM, jacob at aers.ca wrote:
> The following is all set in my conf file
>
> logdir = '/var/log/pgpool/'
>
> print_timestamp = true
>
> log_statement = true
>
> log_hostname = true
>
> log_connections = true
>
> but I am not getting any logging information in the log file. If I start
> the server in debug mode (-d) I see debug information. But I need to
> redirect it in with “>> /var/log/pgpool/pgpool.log 2>&1” at the end of
> the start up command.

I found that I had to add the '-n' flag in /etc/sysconfig/pgpool for 
logging to work. Does anyone know if there's a more "recommended" way of 
doing this?

-Brent


More information about the Pgpool-general mailing list