Bug #82403 mysqlrouter doesn't have any way to rotate its log
Submitted: 2 Aug 2016 3:01 Modified: 2 Aug 2016 4:19
Reporter: Tsubasa Tanaka (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Router Severity:S2 (Serious)
Version:2.0.3 OS:CentOS (7.2)
Assigned to: CPU Architecture:Any
Tags: logrotate, mysqlrouter

[2 Aug 2016 3:01] Tsubasa Tanaka
Description:
Now, MySQL Router exits when it receives any signal(SIGHUP, SIGUSR1, etc.)

Please implement signal handler to mysqlrouter for log-rotation, config-reload, etc.

How to repeat:
$ kill -HUP $(pidof mysqlrouter)

And mysqlrouter exits.
[2 Aug 2016 4:19] MySQL Verification Team
Hello Tanaka-San,

Thank you for the reasonable feature request and feedback!

Thanks,
Umesh
[30 Aug 2016 15:08] Franck Horlaville
I second this :-)

Thanks

Franck Horlaville
[28 Mar 18:24] Justin Yaple
I don't think that the server does this either.  To purge the log you have to stop the service then delete it.

It would be nice if daily it copied the old log to a dated file then started with a new clean log file for the day.