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:
Markus Mäkelä 2020-08-18 12:01:00 +03:00
parent 7b7cded1cc
commit b5fa26e8a6
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -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;
}