Skip to content

Feature Request: Optionally disable use of the log crate #215

Closed
@pdtilton

Description

@pdtilton

I am interested in using postgres as a logging backend in conjunction with the log crate. The issue is that anytime such a logger creates a query it results in infinite recursion due to the use of the debug! and info! log macros in src/lib.rs. Would it be possible to optionally disable this feature in rust-postgres? I'm fairly new to Rust, so perhaps there is a workaround I am not considering instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions