diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index 0cd40fa5dc9..d210b4a2bee 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -511,11 +511,11 @@ flushjournal_out: ms_hb_back_server->set_cluster_protocol(CEPH_OSD_PROTOCOL); ms_hb_front_server->set_cluster_protocol(CEPH_OSD_PROTOCOL); - cout << "starting osd." << whoami - << " osd_data " << data_path - << " " << ((journal_path.empty()) ? - "(no journal)" : journal_path) - << std::endl; + dout(0) << "starting osd." << whoami + << " osd_data " << data_path + << " " << ((journal_path.empty()) ? + "(no journal)" : journal_path) + << dendl; uint64_t message_size = g_conf().get_val("osd_client_message_size_cap"); diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index d6c0ed13aea..276e3787c87 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -3419,7 +3419,7 @@ int OSD::shutdown() osd_lock.Unlock(); return 0; } - derr << "shutdown" << dendl; + dout(0) << "shutdown" << dendl; set_state(STATE_STOPPING);