]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monc: debug option
authorSage Weil <sage@newdream.net>
Fri, 26 Jun 2009 22:08:31 +0000 (15:08 -0700)
committerSage Weil <sage@newdream.net>
Fri, 26 Jun 2009 22:10:27 +0000 (15:10 -0700)
src/config.cc
src/config.h
src/mon/MonClient.cc

index 7944164c3521e287bc522c21bc8d58d7cae8763e..7f0485dfa2af6597509f4b10c983aade317c16ef 100644 (file)
@@ -335,6 +335,7 @@ static struct config_option config_optionsp[] = {
        OPTION(debug_ns, 0, OPT_INT, 0),
        OPTION(debug_ms, 0, OPT_INT, 0),
        OPTION(debug_mon, 0, OPT_INT, 1),
+       OPTION(debug_monc, 0, OPT_INT, 1),
        OPTION(debug_paxos, 0, OPT_INT, 0),
        OPTION(debug_tp, 0, OPT_INT, 0),
        OPTION(clock_lock, 0, OPT_BOOL, false),
index cc3a46b06c15bd314220c4ae83197d7e81e6874b..21fef8b4e0fa9b5c7278465a82ac65ae71667a69 100644 (file)
@@ -97,6 +97,7 @@ struct md_config_t {
   int debug_ns;
   int debug_ms;
   int debug_mon;
+  int debug_monc;
   int debug_paxos;
   int debug_tp;
 
index a6b1c6f4015cc536bfdb75a1f70b84469fd4a479..0eb02ae3df699c54e8974e4bd6fed88d1741598e 100644 (file)
@@ -1,3 +1,17 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- 
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software 
+ * Foundation.  See file COPYING.
+ * 
+ */
+
 #include "msg/SimpleMessenger.h"
 #include "messages/MMonGetMap.h"
 #include "messages/MMonMap.h"
@@ -15,6 +29,7 @@
 #include "config.h"
 
 
+#define DOUT_SUBSYS monc
 #undef dout_prefix
 #define dout_prefix *_dout << dbeginl << "monclient: "