Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

LOG_QUERIES has no effect anymore #413

@dpetrick

Description

@dpetrick

Logging of queries has apparently been moved to metrics, which always emits query "log" events on debug: https://github.com/prisma/quaint/blob/main/src/connector/metrics.rs#L79

Unsure if this is a bug or intentional, so leaving the labeling to you. The LOG_QUERIES variable in the README doesn't do anything anymore.

On that note, mixing the query logging with the metrics implementation is an odd design choice and caused some confusion when I integrated quaint into a project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions