From: Colin Patrick McCabe Date: Wed, 16 Feb 2011 16:04:29 +0000 (-0800) Subject: monmaptool: set_foreground_logging X-Git-Tag: v0.25~111 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5676253c7503f10063afa6f5b956a4d4500592a2;p=ceph.git monmaptool: set_foreground_logging Signed-off-by: Colin McCabe --- diff --git a/src/monmaptool.cc b/src/monmaptool.cc index 36def640f378..8b1fe8957e3a 100644 --- a/src/monmaptool.cc +++ b/src/monmaptool.cc @@ -23,7 +23,7 @@ using namespace std; #include "config.h" - +#include "common/common_init.h" #include "mon/MonMap.h" void usage() @@ -37,6 +37,7 @@ int main(int argc, const char **argv) vector args; argv_to_vec(argc, argv, args); DEFINE_CONF_VARS(usage); + set_foreground_logging(); const char *me = argv[0];