From 0e6ae773dced9314d2a3b1f3138c77f179342800 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 29 Oct 2009 16:40:41 -0700 Subject: [PATCH] auth: less chatty --- src/auth/AuthServiceHandler.cc | 6 ++++-- src/mon/MonClient.cc | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/auth/AuthServiceHandler.cc b/src/auth/AuthServiceHandler.cc index d153ccc6858ee..1848075358d35 100644 --- a/src/auth/AuthServiceHandler.cc +++ b/src/auth/AuthServiceHandler.cc @@ -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 auth_supported; @@ -30,11 +32,11 @@ static void _init_supported(void) get_str_list(str, sup_list); for (list::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; } diff --git a/src/mon/MonClient.cc b/src/mon/MonClient.cc index 598befdaa22d6..bcbc0a9b0ea1f 100644 --- a/src/mon/MonClient.cc +++ b/src/mon/MonClient.cc @@ -251,11 +251,11 @@ void MonClient::init() get_str_list(str, sup_list); for (list::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; } -- 2.39.5