Re: Need to place pgpool logs on separate directory

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: garajamohan(at)gmail(dot)com
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Need to place pgpool logs on separate directory
Date: 2020-11-12 06:19:43
Message-ID: 20201112.151943.1254786399374915749.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Thanks Tatsuo for the info. I will contact pgpool forum regarding this.
>
> Also I tried restarting and reloading the pgpool service after each of the
> above parameter changes, still it's not working.
>
>
> item | value
> |
> description
> --------------------------------------+--------------------------------------------------------------------+---------------------------------------------------------------------------------
> log_destination | stderr
> | logging destination
> logdir | /data/pgpool
> | PgPool status file logging directory
> syslog_facility | LOCAL0
> | syslog local faclity
> syslog_ident | pgpool
> | syslog program ident string

When log_destination = stderr, you need to start pgpool with -n option
and redirect stderr to log file. Othewise log will not write to the
log file because without -n stderr is closed.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2020-11-12 06:22:18 Re: Discovering postgres binary directory location
Previous Message David G. Johnston 2020-11-12 06:14:21 Re: Encryption with customer provided key in a multi tenant Postgres JSONB DB