mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
debug: say 'append' or 'new' when opening log
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
2483096e66
commit
538ceedcc8
@ -161,7 +161,9 @@ void _dout_open_log()
|
||||
_dout_need_open = false;
|
||||
_dout_is_open = true;
|
||||
_dout = &_dout_out;
|
||||
*_dout << g_clock.now() << " --- " << getpid() << " opened log " << _dout_path << " ---" << std::endl;
|
||||
*_dout << g_clock.now() << " --- " << getpid()
|
||||
<< (g_conf.log_per_instance ? " created new log " : " appending to log ")
|
||||
<< _dout_path << " ---" << std::endl;
|
||||
}
|
||||
*_dout << "ceph version " << VERSION << " (" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user