Skip to content

SQL query logging #194

@david-crespo

Description

@david-crespo

This may be more of a "how do I do this?" than a request for work to be done, but when I'm running the tests and debugging queries, I have to do a lot of manual intervention with println!s to see the actual SQL being executed. Cockroach has a cluster-wide logging setting, but I couldn't get it to work. (I did try turning of stdio redirection too.) This will also be useful while we're feeling out the SQL that Diesel generates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseRelated to database access

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions