MySQL Forums
Forum List  »  General

MySQL Database Logging
Posted by: Siong Po Sim
Date: June 13, 2013 03:26AM

Hi,

I understand that we can set the path in my.ini to enable the General Log for MySQL database which will log every event (data access from SQLyog or from application) into the file.

The problem is this log file will keep growing very fast to reach GB file size if my application is running within an hour.

I wish to know is there other way that i can split the file lets say based on file size or date???

Or is there any other setting to configure or limit the logging event or pattern so that it won't just log everything that have changed on database???


Thanks in advanced for any help or suggestion.

Options: ReplyQuote


Subject
Written By
Posted
MySQL Database Logging
June 13, 2013 03:26AM
June 17, 2013 09:17PM
July 03, 2013 09:20PM
July 24, 2013 09:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.