Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
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))
// 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;