summaryrefslogtreecommitdiffstats
path: root/src/auth/RotatingKeyRing.cc
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-03-27 19:41:12 +0200
committerSage Weil <sage@newdream.net>2012-03-27 19:41:12 +0200
commitf41887e38d70970f4d0181fb73e835ece68cee6c (patch)
treedd6f896fa260344f3f8b0b35659d27118f2293f7 /src/auth/RotatingKeyRing.cc
parentconfig: use our assert (diff)
downloadceph-f41887e38d70970f4d0181fb73e835ece68cee6c.tar.xz
ceph-f41887e38d70970f4d0181fb73e835ece68cee6c.zip
log: new logging infrastructure
- explicitly defined subsystems, and ceph_subsys_FOO enums to go with them - modular log system with Entry object - separate gather level and log level - drop lots of DoutStreambuf hackery Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/auth/RotatingKeyRing.cc')
-rw-r--r--src/auth/RotatingKeyRing.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auth/RotatingKeyRing.cc b/src/auth/RotatingKeyRing.cc
index 9ded2901c9d..9470801ff7d 100644
--- a/src/auth/RotatingKeyRing.cc
+++ b/src/auth/RotatingKeyRing.cc
@@ -9,7 +9,7 @@
#include "auth/RotatingKeyRing.h"
#include "auth/KeyRing.h"
-#define DOUT_SUBSYS auth
+#define dout_subsys ceph_subsys_auth
#undef dout_prefix
#define dout_prefix *_dout << "auth: "
@@ -19,6 +19,7 @@ bool RotatingKeyRing::need_new_secrets() const
Mutex::Locker l(lock);
return secrets.need_new_secrets();
}
+
bool RotatingKeyRing::need_new_secrets(utime_t now) const
{
Mutex::Locker l(lock);