Summary of MySQL log types

There are a few different log types that mysql uses. Here is quick summary to remind me.

LogPurposeOption File Syntax (my.cnf)
GeneralQuery Log - Auditinggeneral-log=on
general_log_file=mysql_general.log
ErrorGeneral Daemon Log
Storage Engine messages
log-error=mysqld.log
Slow QueryPerformance Tuning - log queries that take more than N seconds.log-slow-queries=mysql_slow.low
long_query_time=10
log-queries-not-using-indexes
BinaryPoint in time restore.
Replication
log-bin=mysql_bin
expire_logs_days=14