How do I view raw queries being executed by findBy… functions in a CouchbasePagingAndSortingRepository?
I know I can get aggregate performance info from the cbstats tool (Slow query logs?), but is there a way to view an actual query log?
How do I view raw queries being executed by findBy… functions in a CouchbasePagingAndSortingRepository?
I know I can get aggregate performance info from the cbstats tool (Slow query logs?), but is there a way to view an actual query log?
Hi @tohearen,
It can be seen on the client side if you turn up the logging level to debug. You should see a log like Executing N1QL query: … . On the server end, it should be possible using select * from system:completed_requests.