]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: more useful class debug output
authorSage Weil <sage@newdream.net>
Sat, 28 Aug 2010 14:34:04 +0000 (07:34 -0700)
committerSage Weil <sage@newdream.net>
Sat, 28 Aug 2010 14:34:04 +0000 (07:34 -0700)
src/mon/ClassMonitor.cc

index bc081eedbbd6b7b2954574f9e6b2380bb4a1d8ff..726fa5854071c1215472569a35f3b5a063d988f9 100644 (file)
@@ -517,11 +517,11 @@ void ClassMonitor::handle_request(MClass *m)
     reply->info.push_back(*p);
     switch (m->action) {
     case CLASS_GET:
+      dout(10) << "CLASS_GET name='" << (*p).name << "' ver='" << (*p).version << "'" << dendl;
       if (list.get_ver((*p).name, (*p).version, &ver)) {
         int len = (*p).name.length() + 16;
         int bin_len;
         char store_name[len];
-        dout(0) << "got CLASS_GET name=" << (*p).name << " ver=" << (*p).version << dendl;
         snprintf(store_name, len, "%s.%s.%s", (*p).name.c_str(), ver.str(), ver.arch());
         bufferlist bl;
         bin_len = mon->store->get_bl_ss(bl, "class_impl", store_name);