[pgpool-hackers: 3656] Re: Proposal: Add log_disconnections parameter

Takuma Hoshiai hoshiai at sraoss.co.jp
Thu Jun 18 13:05:28 JST 2020


On Thu, 18 Jun 2020 09:41:08 +0900 (JST)
Tatsuo Ishii <ishii at sraoss.co.jp> wrote:

> > Hi all,
> > 
> > I implement new parameter of log_disconnections. I have attached this
> > patch for this email.
> > 
> > If this parameter set to on, client session terminations to be logged.
> > e.g.
> >  LOG: frontend connection closed
> >  DETAIL: connected host=[local] 
> > 
> > Curerntly pgpool can use only log_connections. This new parameter can
> > make pgpool.log more convenience when we analyze pgpool trouble.
> 
> PostgreSQL's log_disconnections also prints the duration of the
> session. Maybe we should follow that?

You are right. I will try it.

Best Regards,

Takuma Hoshiai

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


-- 
Takuma Hoshiai <hoshiai at sraoss.co.jp>



More information about the pgpool-hackers mailing list