Re: Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set - Mailing list pgsql-hackers

From Dilip Kumar
Subject Re: Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set
Date
Msg-id CAFiTN-u6ZYke5StW9G1+gVS5S3fNwC13RC3=dHpLuuY2+qRGMA@mail.gmail.com
Whole thread Raw
In response to Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
On Wed, Jan 5, 2022 at 10:24 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> Hi,
>
> Postgres server emits a message at DEBUG1 level when it skips a
> checkpoint. At times, developers might be surprised after figuring out
> from server logs that there were no checkpoints happening at all
> during a certain period of time when DEBUG1 messages aren't captured.
> How about emitting the message at LOG level if log_checkpoints is set?
> Patch attached.
>
> Thoughts?

+1 to convert to LOG when log_checkpoints is set.

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stat_statements and "IN" conditions
Next
From: Amit Kapila
Date:
Subject: Re: row filtering for logical replication