]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: turn up debug on any shutdown, not just SIGINT/SIGTERM, for now
authorSage Weil <sage@newdream.net>
Fri, 7 Nov 2008 03:15:50 +0000 (19:15 -0800)
committerSage Weil <sage@newdream.net>
Fri, 7 Nov 2008 03:15:50 +0000 (19:15 -0800)
src/osd/OSD.cc

index 39f7a549fe34487466be4fae717b63c40d70a0ee..f06ebe3b9927787c4578f744d958d44f152245ed 100644 (file)
@@ -326,10 +326,6 @@ void handle_signal(int signal)
   case SIGTERM:
   case SIGINT:
     got_sigterm = true;
-    g_conf.debug_osd = 100;
-    g_conf.debug_journal = 100;
-    g_conf.debug_filestore = 100;
-    g_conf.debug_ebofs = 100;
     break;
   }
 }
@@ -451,6 +447,12 @@ int OSD::init()
 
 int OSD::shutdown()
 {
+  g_conf.debug_osd = 100;
+  g_conf.debug_journal = 100;
+  g_conf.debug_filestore = 100;
+  g_conf.debug_ebofs = 100;
+  g_conf.debug_ms = 100;
+  
   dout(1) << "shutdown" << dendl;
 
   state = STATE_STOPPING;