authzed / spicedb

Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications
https://authzed.com/docs
Apache License 2.0
4.75k stars 257 forks source link

enable datastore queries at debug level for all datastores #1055

Open vijayaraj opened 1 year ago

vijayaraj commented 1 year ago

Currently, there is no way to check the queries sent to the datastore when making API calls. It would be useful if we can see them as part of the logs.

vroldanbet commented 1 year ago

PostgreSQL and CockroachDB currently show SQL queries at debug level. We've have to check the other datastores to determine if it's supported.