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:38:14 +0000 (22:38 +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 1380f610929fc9faea5c4ca89feaa09a41f801a3..60b23e7219621daddbc7093691d1d7fb87a56719 100644 (file)
@@ -3243,7 +3243,7 @@ accept_incomming_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);