Skip to content

Add ability to log database connections/disconnections #5784

@TheWitness

Description

@TheWitness

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancementresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions