trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [1/2] trafodion git commit: [TRAFODION-3182] cleanup monitor log content
Date Sun, 19 Aug 2018 10:03:06 GMT
Repository: trafodion
Updated Branches:
  refs/heads/master 6bd356468 -> 2c5af79c1


[TRAFODION-3182] cleanup monitor log content


Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/5c8c990b
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/5c8c990b
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/5c8c990b

Branch: refs/heads/master
Commit: 5c8c990be5af0aba055b84b28477abae671ffa59
Parents: 5e8bfc7
Author: Liu Ming <ovis_poly@sina.com>
Authored: Sun Aug 12 03:12:14 2018 +0000
Committer: Liu Ming <ovis_poly@sina.com>
Committed: Sun Aug 12 03:12:14 2018 +0000

----------------------------------------------------------------------
 core/sqf/monitor/linux/cluster.cxx    | 4 ++--
 core/sqf/monitor/linux/redirector.cxx | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/5c8c990b/core/sqf/monitor/linux/cluster.cxx
----------------------------------------------------------------------
diff --git a/core/sqf/monitor/linux/cluster.cxx b/core/sqf/monitor/linux/cluster.cxx
index 762c1a0..a83f10e 100644
--- a/core/sqf/monitor/linux/cluster.cxx
+++ b/core/sqf/monitor/linux/cluster.cxx
@@ -2740,7 +2740,7 @@ void CCluster::HandleOtherNodeMsg (struct internal_msg_def *recv_msg,
                                  recv_msg->u.stdin_req.supplier_nid,
                                  recv_msg->u.stdin_req.supplier_pid);
                         mon_log_write(MON_CLUSTER_HANDLEOTHERNODE_8,
-                                      SQ_LOG_ERR, buf);
+                                      SQ_LOG_DEBUG, buf);
                     }
                 }
             }
@@ -2760,7 +2760,7 @@ void CCluster::HandleOtherNodeMsg (struct internal_msg_def *recv_msg,
                      "pid=%d for stdin data request.\n", method_name,
                      recv_msg->u.stdin_req.nid,
                      recv_msg->u.stdin_req.pid);
-            mon_log_write(MON_CLUSTER_HANDLEOTHERNODE_9, SQ_LOG_INFO, buf);
+            mon_log_write(MON_CLUSTER_HANDLEOTHERNODE_9, SQ_LOG_DEBUG, buf);
         }
         break;
 #endif

http://git-wip-us.apache.org/repos/asf/trafodion/blob/5c8c990b/core/sqf/monitor/linux/redirector.cxx
----------------------------------------------------------------------
diff --git a/core/sqf/monitor/linux/redirector.cxx b/core/sqf/monitor/linux/redirector.cxx
index 70e8f9c..92d74ac 100644
--- a/core/sqf/monitor/linux/redirector.cxx
+++ b/core/sqf/monitor/linux/redirector.cxx
@@ -1550,7 +1550,7 @@ void CRedirector::stdinFd(int nid, int pid, int &pipeFd, char filename[],
             sprintf(buf, "[%s], unable to obtain file info for stdin file"
                     ", file=%s. Closing stdin pipe fd=%d\n",
                     method_name, filename, pipeFd );
-            mon_log_write(MON_REDIR_STDIN_FD_1, SQ_LOG_ERR, buf);
+            mon_log_write(MON_REDIR_STDIN_FD_1, SQ_LOG_DEBUG, buf);
 
             close ( pipeFd );
             pipeFd = -1;


Mime
View raw message