mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
osd: replace cout/derr with dout(0) to avoid writing trivial logs to syslog file
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
This commit is contained in:
parent
6be421539d
commit
0cb8ef3c09
@ -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<Option::size_t>("osd_client_message_size_cap");
|
||||
|
@ -3419,7 +3419,7 @@ int OSD::shutdown()
|
||||
osd_lock.Unlock();
|
||||
return 0;
|
||||
}
|
||||
derr << "shutdown" << dendl;
|
||||
dout(0) << "shutdown" << dendl;
|
||||
|
||||
set_state(STATE_STOPPING);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user