]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: set default debug level to 1/5 13407/head
authorSage Weil <sage@redhat.com>
Tue, 14 Feb 2017 01:00:08 +0000 (19:00 -0600)
committerSage Weil <sage@redhat.com>
Tue, 14 Feb 2017 01:00:08 +0000 (19:00 -0600)
There are some useful messages at level 1. They're rare and won't affect
performance, but are helpful to see in the log.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/osd/OSD.cc

index 76c3f0ddd1607f1ba4cea0ebce4f0346311d1764..8db768ecb0901e04d3600e712dcfd5927c044fde 100644 (file)
@@ -130,7 +130,7 @@ SUBSYS(rbd_replay, 0, 5)
 SUBSYS(journaler, 0, 5)
 SUBSYS(objectcacher, 0, 5)
 SUBSYS(client, 0, 5)
-SUBSYS(osd, 0, 5)
+SUBSYS(osd, 1, 5)
 SUBSYS(optracker, 0, 5)
 SUBSYS(objclass, 0, 5)
 SUBSYS(filestore, 1, 3)
index 8be01c7cc41c3de4d5a96efa3756b93209baeca8..2d8cc8b6c39aac504c9d3eb4c896d02b53dfe643 100644 (file)
@@ -4940,7 +4940,7 @@ void OSD::ms_handle_fast_accept(Connection *con)
 bool OSD::ms_handle_reset(Connection *con)
 {
   Session *session = (Session *)con->get_priv();
-  dout(1) << "ms_handle_reset con " << con << " session " << session << dendl;
+  dout(2) << "ms_handle_reset con " << con << " session " << session << dendl;
   if (!session)
     return false;
   session->wstate.reset(con);
@@ -4959,7 +4959,7 @@ bool OSD::ms_handle_refused(Connection *con)
     return false;
 
   Session *session = (Session *)con->get_priv();
-  dout(1) << "ms_handle_refused con " << con << " session " << session << dendl;
+  dout(2) << "ms_handle_refused con " << con << " session " << session << dendl;
   if (!session)
     return false;
   int type = con->get_peer_type();
@@ -5005,7 +5005,7 @@ void OSD::start_boot()
     heartbeat_kick();
     return;
   }
-  dout(1) << "We are healthy, booting" << dendl;
+  dout(1) << __func__ << dendl;
   set_state(STATE_PREBOOT);
   dout(10) << "start_boot - have maps " << superblock.oldest_map
           << ".." << superblock.newest_map << dendl;