Re: Need to place pgpool logs on separate directory - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: Need to place pgpool logs on separate directory
Date
Msg-id 20201112.151943.1254786399374915749.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Need to place pgpool logs on separate directory  (RAJAMOHAN <garajamohan@gmail.com>)
List 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



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Encryption with customer provided key in a multi tenant Postgres JSONB DB
Next
From: Paul Förster
Date:
Subject: Re: Discovering postgres binary directory location