MXS-3113: Log a message when log rotation is complete
This helps detect that writes to the new log file are working.
This commit is contained in:
@ -641,6 +641,11 @@ bool mxb_log_rotate()
|
|||||||
unused = freopen(this_unit.sLogger->filename(), "a", stderr);
|
unused = freopen(this_unit.sLogger->filename(), "a", stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (rval)
|
||||||
|
{
|
||||||
|
MXB_NOTICE("Log rotation complete");
|
||||||
|
}
|
||||||
|
|
||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user