vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 2 forks source link

Turn off SQLAlchemy echo #152

Closed Robin5605 closed 4 months ago

Robin5605 commented 11 months ago

SQLAlchemy's echo engine setting is currently set to True, so it's logging out all of the SQL queries which is clogging up logs making it harder to see actual log points. Relevant line of code: https://github.com/vipyrsec/dragonfly-mainframe/blob/117d52230192ba44f518e4153776a1c15f672d4e/src/mainframe/database.py#L8