Downgrade log message.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 29 Jun 2023 01:51:14 +0000 (10:51 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 29 Jun 2023 01:57:23 +0000 (10:57 +0900)
It is pointed out in https://www.pgpool.net/mantisbt/view.php?id=806
that there are log entries in the log file:

LOG: pool_pending_message_set_flush_request: msg: Parse

The messages were for debugging and the log level should have been a
DEBUG*. So I changed the log level from LOG to DEBUG5.

src/context/pool_session_context.c

index c62eb8334867e307a33230b9cda2d5e9657d10a4..7082771914ac65f400888b8586a86d1baa694c95 100644 (file)
@@ -1725,7 +1725,7 @@ pool_pending_message_set_flush_request(void)
        {
                POOL_PENDING_MESSAGE *msg = (POOL_PENDING_MESSAGE *) lfirst(msg_item);
                msg->flush_pending = true;
-               ereport(LOG,
+               ereport(DEBUG5,
                                (errmsg("pool_pending_message_set_flush_request: msg: %s",
                                                pool_pending_message_type_to_string(msg->type))));
        }