mysql> show global variables like 'general%log%';
+------------------+-------------------------------------+
| Variable_name | Value |
+------------------+-------------------------------------+
| general_log | OFF |
| general_log_file | /usr/local/mysql/data/zabbix424.log |
+------------------+-------------------------------------+
2 rows in set (0.00 sec)
mysql> show global variables like 'log_output';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| log_output | FILE |
+---------------+-------+
1 row in set (0.00 sec)
mysql> show global variables like 'long_query_time';
+-----------------+----------+
| Variable_name | Value |
+-----------------+----------+
| long_query_time | 1.000000 |
+-----------------+----------+
1 row in set (0.00 sec)
mysql> show global variables like 'slow%';
+---------------------+------------------------------------------+
| Variable_name | Value |
+---------------------+------------------------------------------+
| slow_launch_time | 2 |
| slow_query_log | ON |
| slow_query_log_file | /usr/local/mysql/data/zabbix424-slow.log |
+---------------------+------------------------------------------+
3 rows in set (0.01 sec)
mysql> show global variables like 'log%error%';
+---------------------+-----------------+
| Variable_name | Value |
+---------------------+-----------------+
| log_error | ./zabbix424.err |
| log_error_verbosity | 3 |
+---------------------+-----------------+
2 rows in set (0.00 sec)