From: Sage Weil Date: Tue, 14 Feb 2017 01:00:08 +0000 (-0600) Subject: osd: set default debug level to 1/5 X-Git-Tag: v12.0.1~382^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F13407%2Fhead;p=ceph.git osd: set default debug level to 1/5 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 --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 76c3f0ddd1607..8db768ecb0901 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 8be01c7cc41c3..2d8cc8b6c39aa 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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;