Patchwork [BUG:2072] nfsrpc: Change log levels for RPC program search messages

login
register
Submitter Shehjar Tikoo
Date 2010-11-11 05:49:54
Message ID <1289454594-11501-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/5672/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-11-11 05:49:54
From: Shehjar Tikoo <shehjart@gluster.com>


Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
---
 xlators/nfs/lib/src/rpcsvc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c
index 780c9ae..da9cb3b 100644
--- a/xlators/nfs/lib/src/rpcsvc.c
+++ b/xlators/nfs/lib/src/rpcsvc.c
@@ -1307,16 +1307,16 @@  err:
         switch (ret) {
 
         case PROG_UNAVAIL:
-                gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC program not available");
+                gf_log (GF_RPCSVC, GF_LOG_DEBUG, "RPC program not available");
                 break;
 
         case PROG_MISMATCH:
-                gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC program version "
+                gf_log (GF_RPCSVC, GF_LOG_DEBUG, "RPC program version "
                         "not available");
                 break;
 
         case PROC_UNAVAIL:
-                gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC Program procedure"
+                gf_log (GF_RPCSVC, GF_LOG_DEBUG, "RPC Program procedure"
                         " not available");
                 break;