mysql支持丰富的日志类型
事务日志 transacton log
innodb_log_file_size
innodb_log_files_in_group
innodb_log_group_home_dir
innodb_flush_log_at_trx_commit
错误日志
log_error
log_warnings
通用日志
general_log
general_log_file
log_output
慢查询日志
slow_query_log
long_query_time
slow_query_log_file
log_slow_filter
log_queries_not_using_indexes
log_slow_rate_limit
log_slow_verbosity
二进制日志
sql_log_bin
log_bin
binlog_format
max_binlog_size
binlog_cache_size
max_binlog_cache_size
sync_binlog
expire_logs_days
中继日志