mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
logging: rename_output_file -> handle_pid_change
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
This commit is contained in:
parent
116478a3be
commit
e597d02d42
@ -313,9 +313,11 @@ set_prio(int prio)
|
||||
this->pbump(2);
|
||||
}
|
||||
|
||||
// call after calling daemon()
|
||||
// Call after calling daemon()
|
||||
// A change in the process ID sometimes requires us to change our output
|
||||
// path name.
|
||||
template <typename charT, typename traits>
|
||||
int DoutStreambuf<charT, traits>::rename_output_file()
|
||||
int DoutStreambuf<charT, traits>::handle_pid_change()
|
||||
{
|
||||
Mutex::Locker l(_dout_lock);
|
||||
if (!(flags & DOUTSB_FLAG_OFILE))
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
// Set the priority of the messages being put into the stream
|
||||
void set_prio(int prio);
|
||||
|
||||
int rename_output_file();
|
||||
int handle_pid_change();
|
||||
|
||||
std::string config_to_str() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user