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:41 +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 7a7769131c5263b50ba7159bd77e0926d522ec50..4ff06eb691c2edcaf574ffbb6e52795de227e703 100644 (file)
@@ -3365,7 +3365,7 @@ void read_kind_from_backend(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *bac
                                        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)));