Comments - dumb question about enabling error logs

 
5 years, 3 months ago Ian Gilfillan

Errors are always written, but not always to log file. If log_error is not enabled, errors will be logged to stderr. See Error Log. Note also that the error log, the General Query Log and the Audit Plugin are all different things.

As to why the error log is not being written, check file permissions (though the server shouldn't start if it can't write the log file), or specify log_error with no location in order to write to the default location to test. Also, to help track down errors, I suggest doing one thing at a time - first get error logs working, then implement the audit plugin if you need it.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.