]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
hadoop: define subsystem, fix logging
authorSage Weil <sage@newdream.net>
Tue, 27 Mar 2012 18:35:58 +0000 (11:35 -0700)
committerSage Weil <sage@newdream.net>
Tue, 27 Mar 2012 18:35:58 +0000 (11:35 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/client/hadoop/CephFSInterface.cc
src/common/config_opts.h

index 097eac2f7f96e6dd9161f0cd7f98ce7038ea0309..31f073164a8052bd30c4b022d997b5402358653d 100644 (file)
@@ -8,6 +8,8 @@
 #include <sys/stat.h>
 #include <sys/statvfs.h>
 
+#define dout_subsys ceph_subsys_hadoop
+
 union ceph_mount_union_t {
   struct ceph_mount_info *cmount;
   jlong cjlong;
index 694bbf6e26bf12e60c097b85ae746543fcbad271..fa71ef152fd8f4c69ae275255e52be561145a472 100644 (file)
@@ -72,6 +72,7 @@ SUBSYS(finisher, 1, 5)
 SUBSYS(heartbeatmap, 1, 5)
 SUBSYS(perfcounter, 1, 5)
 SUBSYS(rgw, 1, 5)                 // log level for the Rados gateway
+SUBSYS(hadoop, 1, 5)
 
 OPTION(key, OPT_STR, "")
 OPTION(keyfile, OPT_STR, "")