The most common reason for the MySQL server has gone away error is that the server timed out and closed the connection.
https://dev.mysql.com/doc/refman/8.0/en/gone-away.html
There is a table with two columns/rows (CR_SERVER_GONE_ERROR and CR_SERVER_LOST) which I'm not sure how to configure MariaDB to log?
My question is how do I configure MariaDB to log information I need to know if a connection times out or another cause?
This error has only occurred once and I would like to create a condition to test a timeout if possible.