You are not logged in.

#1 2012-04-04 02:55:19

luuuciano
Member
Registered: 2007-01-27
Posts: 310

How to add mysql logs to logrotate on archlinux?

Any idea?

On a server I saw the mysql log files over 10gb (more than a month)... then readed the logrotate conf files and realized that there is no "mysql" anything there... is that ok?
How can I add it? should I use anything else?

Looking at the my.cnf options I found expire_logs_days, but it looks that affects only binary logs?


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#2 2012-04-04 03:06:48

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How to add mysql logs to logrotate on archlinux?

..by writing an appropriate config file for logrotate and sticking it in /etc/logrotate.d

Offline

Board footer

Powered by FluxBB