[mysqld]
general-log = 1
general-log-file = /user/local/var/log/mysqld.general.log
log-error = /usr/local/var/log/mysqld.error.log
log-queries-not-using-indexes = 1
long-query-time = 1
slow-query-log = 1
slow-query-log-file = /usr/local/var/log/mysqld.slow.log

CategoryComputing.DB.SQL.MySQL - CategoryComputing.Logging