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:
parent
7b7cded1cc
commit
b5fa26e8a6
@ -641,6 +641,11 @@ bool mxb_log_rotate()
|
||||
unused = freopen(this_unit.sLogger->filename(), "a", stderr);
|
||||
}
|
||||
|
||||
if (rval)
|
||||
{
|
||||
MXB_NOTICE("Log rotation complete");
|
||||
}
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user