Downgrade LOG messages "new IPC connection received" to DEBUG1.
authorBo Peng <pengbo@sraoss.co.jp>
Sat, 3 Dec 2022 13:31:15 +0000 (22:31 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Sat, 3 Dec 2022 13:31:15 +0000 (22:31 +0900)
It is a normal messages and should not be logged as LOG.
Patch is created by pstef and reviewed by Bo Peng.

src/watchdog/watchdog.c

index d7001df7d27f4601744628a91ad0479f4bfcba1e..88046f4113bdcad3c1a04d67938d1b627a637195 100644 (file)
@@ -3435,7 +3435,7 @@ accept_incoming_connections(fd_set *rmask, int pending_fds_count)
                {
                        MemoryContext oldCxt = MemoryContextSwitchTo(TopMemoryContext);
 
-                       ereport(LOG,
+                       ereport(DEBUG1,
                                        (errmsg("new IPC connection received")));
                        g_cluster.ipc_command_socks = lappend_int(g_cluster.ipc_command_socks, fd);
                        MemoryContextSwitchTo(oldCxt);