Changes of Revision 19
[-] [+] | Changed | mysql-proxy.spec |
[-] [+] | Changed | mysql-proxy.cnf ^ |
@@ -1,6 +1,6 @@ [mysql-proxy] -proxy-skip-profiling -proxy-fix-bug-25371 +proxy-skip-profiling = true +proxy-fix-bug-25371 = true admin-address = localhost:4041 admin-username = root @@ -10,5 +10,5 @@ proxy-backend-addresses = localhost:3306 proxy-read-only-backend-addresses = localhost:3307,localhost:3308 -log-file=/var/log/mysql/mysql-proxy.log +log-file=/var/log/mysql-proxy/mysql-proxy.log log-level = message | ||
[-] [+] | Added | mysql-proxy.logrotate ^ |
@@ -0,0 +1,13 @@ +/var/log/mysql-proxy/mysql-proxy.log { + compress + dateext + maxage 365 + rotate 7 + size=+1024k + notifempty + missingok + create 644 mysql-proxy mysql-proxy + postrotate + /etc/init.d/mysql-proxy reload + endscript +} |