Skip to content

Wishlist: Query logging #28

@davidw

Description

@davidw

Hi Will,

I'm using epgsql as part of Chicago Boss, and one thing that I miss from Rails is the ability to log SQL queries, to see exactly what is going on under the hood.

Since the actual queries are run in egpsql, I suppose that's the best place to fish out the actual SQL used.

I'm not quite sure how this might work... perhaps it's as simple as just adding it as an info_msg with the logger, and if people don't want to see it, they can silence those messages. Or a debug flag...

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