Message ID | 20101213133836.GH4783@daedalus.cslab.ece.ntua.gr (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/common/debug.cc b/src/common/debug.cc index 10cd6ce..88780f0 100644 --- a/src/common/debug.cc +++ b/src/common/debug.cc @@ -38,6 +38,11 @@ void _dout_open_log() int dout_handle_daemonize() { Mutex::Locker l(_dout_lock); + + if (_dout_need_open) + _dout_open_log(); + + assert(_doss); _doss->handle_stdout_closed(); _doss->handle_stderr_closed(); return _doss->handle_pid_change();