pt-agent not rotate mysql-slow-log

Hi, I’m installed percona-agent-1.0.6-x86_64.tar.gz. The tool work fine, but not rotate mysql-slow-log. In gui I configure Max slow query log size on 1GB but the file on disk is 5GB.

I have this error on log from gui interface:

Warning 2014-08-26 18:51:00qan-intervalstat mysql-slow-log: no such file or directory

Hi szenobio,

Did you specify the path of your slow query log in your configuration file (i.e. /etc/my.cnf, /etc/mysql/my.cnf)?

Hi Paul, this is my config on my.cnf

datadir = /opt/app-db2-data/mysql/
slow-query-log-file = mysql-slow-log

Need I put the full path on slow-query-log-file ?

Hi again, I modify slow-query-log-file = mysql-slow-log to slow-query-log-file = path/mysql-slow-log, and work. Thanks for all