Downgrade log level of ParameterStatus message.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 11 Mar 2022 01:38:08 +0000 (10:38 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 11 Mar 2022 01:45:33 +0000 (10:45 +0900)
In commit 4bcba5258130c3cd9f855157a4359aad2fa7acfc the log level when
ParameterStatus message arrives from backend was changed from DEBUG5
to LOG. There are multiple complains about the change because chances
of the event is more frequent than I thought. So revert back the log
level to DEBUG5.

Discussion: https://www.pgpool.net/pipermail/pgpool-general/2022-March/008101.html

src/protocol/pool_process_query.c

index 1a8a8c888bed885033c1b1a40f4b6a87f22c45ea..52512ed18582b37a53f009dc8b087e98bb2a4917 100644 (file)
@@ -3475,7 +3475,7 @@ read_kind_from_backend(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * backen
                                        if (p)
                                        {
                                                value = p + strlen(p) + 1;
-                                               ereport(LOG,
+                                               ereport(DEBUG5,
                                                                (errmsg("ParameterStatus message from backend: %d", i),
                                                                 errdetail("parameter name: \"%s\" value: \"%s\"", p, value)));