MySQL in RHEL 5.5 logs it errors in
/var/log/mysqld.log
Which grows to mammoth size frequently.
I need to disable it, but I failed to find any reference to do it. Finally I added below in my.cnf to redirect the logs to /dev/null
log = /dev/null
But I think it is not efficient as mysql will still switch context to write the log. Any idea how to disable mysql error log?