Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist: Query logging #28

Open
davidw opened this issue Mar 28, 2013 · 0 comments
Open

Wishlist: Query logging #28

davidw opened this issue Mar 28, 2013 · 0 comments

Comments

@davidw
Copy link

davidw commented Mar 28, 2013

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant