Feature Request
Is your feature request related to a problem? Please describe
It was not possible to diagnose connection logic issue in Cacti as the MariaDB/MySQL connection is required before the cacti.log functions can be called. Therefore, do this selectively in the php error_log.
Describe the solution you'd like
Provide an optional $config variable in the config.php that when enabled will log the connect and disconnect calls in the php error log as well as the first execute from each connection.
Feature Request
Is your feature request related to a problem? Please describe
It was not possible to diagnose connection logic issue in Cacti as the MariaDB/MySQL connection is required before the cacti.log functions can be called. Therefore, do this selectively in the php error_log.
Describe the solution you'd like
Provide an optional $config variable in the config.php that when enabled will log the connect and disconnect calls in the php error log as well as the first execute from each connection.