The mysql.log file gets huge very fast and fills up my disk space. It's logging everything, including SELECT statements. I can flush the logs with:
$ mysqladmin flush-logs
However, I don't want to do this everyday. Is there a way to turn logging off completely? I see there is a file /etc/my.cnf. Is this where logging should be turned off?
There seem to be some command line arguments to mysql having to do with logs, but since I'm not starting it manually and just letting wwwthreads/php do it I don't know how to modify the mysql arguments.