]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: less chatty
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 29 Oct 2009 23:40:41 +0000 (16:40 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 29 Oct 2009 23:40:41 +0000 (16:40 -0700)
src/auth/AuthServiceHandler.cc
src/mon/MonClient.cc

index d153ccc6858ee4b0117454e8b19cdfcb2c0a5414..1848075358d35a961ef2ea0d11678377b5815ff6 100644 (file)
@@ -19,6 +19,8 @@
 #include "include/str_list.h"
 #include "config.h"
 
+#define DOUT_SUBSYS auth
+
 static bool _supported_initialized = false;
 static Mutex _supported_lock("auth_service_handler_init");
 static map<int, bool> auth_supported;
@@ -30,11 +32,11 @@ static void _init_supported(void)
   get_str_list(str, sup_list);
   for (list<string>::iterator iter = sup_list.begin(); iter != sup_list.end(); ++iter) {
     if (iter->compare("cephx") == 0) {
-      dout(0) << "supporting cephx auth protocol" << dendl;
+      dout(10) << "supporting cephx auth protocol" << dendl;
       auth_supported[CEPH_AUTH_CEPHX] = true;
     } else if (iter->compare("none") == 0) {
       auth_supported[CEPH_AUTH_NONE] = true;
-      dout(0) << "supporting *none* auth protocol" << dendl;
+      dout(10) << "supporting *none* auth protocol" << dendl;
     } else {
       dout(0) << "WARNING: unknown auth protocol defined: " << *iter << dendl;
     }
index 598befdaa22d697496ed7c60f4bf10f83027b0c5..bcbc0a9b0ea1f248c6919d71079c1d3b7e899b9c 100644 (file)
@@ -251,11 +251,11 @@ void MonClient::init()
   get_str_list(str, sup_list);
   for (list<string>::iterator iter = sup_list.begin(); iter != sup_list.end(); ++iter) {
     if (iter->compare("cephx") == 0) {
-      dout(0) << "supporting cephx auth protocol" << dendl;
+      dout(10) << "supporting cephx auth protocol" << dendl;
       auth_supported.insert(CEPH_AUTH_CEPHX);
     } else if (iter->compare("none") == 0) {
       auth_supported.insert(CEPH_AUTH_NONE);
-      dout(0) << "supporting *none* auth protocol" << dendl;
+      dout(10) << "supporting *none* auth protocol" << dendl;
     } else {
       dout(0) << "WARNING: unknown auth protocol defined: " << *iter << dendl;
     }