-
-
Notifications
You must be signed in to change notification settings - Fork 437
Add ability to log database connections/disconnections #5784
Copy link
Copy link
Closed
Labels
enhancementGeneral tag for an enhancementGeneral tag for an enhancementresolvedA fixed issueA fixed issue
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementGeneral tag for an enhancementGeneral tag for an enhancementresolvedA fixed issueA fixed issue