Log: skygw_log_rotate replaced with mxs_log_rotate.
With only one log-file no arguments are needed. The maxadmin command 'flush log' still accepts all the previous arguments, but warns about them being deprecated.
This commit is contained in:
@ -303,10 +303,7 @@ char errmsg[120];
|
||||
*/
|
||||
void exec_flush_logs(DCB *dcb, MAXINFO_TREE *tree)
|
||||
{
|
||||
skygw_log_rotate(LE);
|
||||
skygw_log_rotate(LM);
|
||||
skygw_log_rotate(LT);
|
||||
skygw_log_rotate(LD);
|
||||
mxs_log_rotate();
|
||||
maxinfo_send_ok(dcb);
|
||||
}
|
||||
|
||||
@ -1252,4 +1249,4 @@ void maxinfo_send_ok(DCB *dcb)
|
||||
memcpy(buffer->start, ok_packet, sizeof(ok_packet));
|
||||
dcb->func.write(dcb, buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user