From: Tatsuo Ishii Date: Fri, 16 Dec 2022 09:49:02 +0000 (+0900) Subject: Downgrade streaming replication debugging message. X-Git-Tag: V4_5_0_BETA1~148 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3dd529dcd40e0659d759db64af6f1dbdb20b9303;p=pgpool2.git Downgrade streaming replication debugging message. The log line "standby_delay: 54" was actually for debugging and should have been down graded. So I have downgraded to DEBUG1 from LOG. Also tweaked the message to be saner. --- diff --git a/src/streaming_replication/pool_worker_child.c b/src/streaming_replication/pool_worker_child.c index 826297f38..87224de7d 100644 --- a/src/streaming_replication/pool_worker_child.c +++ b/src/streaming_replication/pool_worker_child.c @@ -480,8 +480,8 @@ check_replication_time_lag(void) if (s) { bkinfo->standby_delay = atol(s); - ereport(LOG, - (errmsg("standby_delay: %lu", bkinfo->standby_delay))); + ereport(DEBUG1, + (errmsg("standby delay in seconds * 1000000: " UINT64_FORMAT "", bkinfo->standby_delay))); } else bkinfo->standby_delay = 0;