r4fek / django-cassandra-engine

Django Cassandra Engine - the Cassandra backend for Django
BSD 2-Clause "Simplified" License
364 stars 85 forks source link

Looking for a way to dump any CQL statement to logging #159

Open Anthony-J-Garot opened 2 years ago

Anthony-J-Garot commented 2 years ago

I run django inside docker. All the logs go to docker logs.

Is there a way to configure django-cassandra-engine to dump verbose and/or debugging information? Maybe this could be geared off the settings.DEBUG flag. Better might be to set an env variable specific to the desired level (info, debug, trace, etc.).