summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2012-11-23 14:22:52 +0000
committerJoao Eduardo Luis <joao.luis@inktank.com>2012-11-23 19:13:05 +0000
commit3b061ab9d38ff8cf162704db96fc604635f35ed1 (patch)
treed6455f40f9b191b3b72fc0126363dff3402f2ca5
parent7527a1ea6cd70a6cd94b8a21b07a211ab5c4de74 (diff)
downloadceph-3b061ab9d38ff8cf162704db96fc604635f35ed1.tar.gz
mon: AuthMonitor: increase log levels when logging secrets
Fixes: #3361 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
-rw-r--r--src/mon/AuthMonitor.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc
index 030153e17df..c43d7e988db 100644
--- a/src/mon/AuthMonitor.cc
+++ b/src/mon/AuthMonitor.cc
@@ -549,7 +549,8 @@ void AuthMonitor::import_keyring(KeyRing& keyring)
auth_inc.name = p->first;
auth_inc.auth = p->second;
auth_inc.op = KeyServerData::AUTH_INC_ADD;
- dout(10) << " importing " << auth_inc.name << " " << auth_inc.auth << dendl;
+ dout(10) << " importing " << auth_inc.name << dendl;
+ dout(30) << " " << auth_inc.auth << dendl;
push_cephx_inc(auth_inc);
}
}
@@ -627,7 +628,8 @@ bool AuthMonitor::prepare_command(MMonCommand *m)
for (unsigned i=3; i+1<m->cmd.size(); i += 2)
::encode(m->cmd[i+1], auth_inc.auth.caps[m->cmd[i]]);
- dout(10) << " importing " << auth_inc.name << " " << auth_inc.auth << dendl;
+ dout(10) << " importing " << auth_inc.name << dendl;
+ dout(30) << " " << auth_inc.auth << dendl;
push_cephx_inc(auth_inc);
ss << "added key for " << auth_inc.name;