- 126.96.36.199 Error Log Configuration
- 188.8.131.52 Default Error Log Destination Configuration
- 184.108.40.206 Types of Error Log Filtering
- 220.127.116.11 Priority-Based Error Log Filtering (log_filter_internal)
- 18.104.22.168 Rule-Based Error Log Filtering (log_filter_dragnet)
- 22.214.171.124 Error Logging in JSON Format
- 126.96.36.199 Error Logging to the System Log
- 188.8.131.52 Error Log Output Format
- 184.108.40.206 Error Log File Flushing and Renaming
This section discusses how to configure the MySQL server for logging of diagnostic messages to the error log. For information about selecting the error message character set and language, see Section 10.6, “Error Message Character Set”, and Section 10.12, “Setting the Error Message Language”.
The error log contains a record of mysqld startup and shutdown times. It also contains diagnostic messages such as errors, warnings, and notes that occur during server startup and shutdown, and while the server is running. For example, if mysqld notices that a table needs to be automatically checked or repaired, it writes a message to the error log.
If used to start mysqld,
mysqld_safe may write messages to the error
log. For example, when mysqld_safe notices
abnormal mysqld exits, it restarts
mysqld and writes a
restarted message to the error log.
The following sections discuss aspects of configuring error logging.