Open jfjlaros opened 8 years ago
Related reading:
SQLAlchemy Documentation: Configuring Logging
We currently configure the SQLAlchemy engine with echo=True
if the Mutalyzer DEBUG
setting is True
. As per the above docs, we should probably always set echo=False
(and set the loglevel for sqlalchemy.engine
appropriately) if we start using Python logging properly.
Flask Documentation: Logging Application Errors
Flask has its own logger on the app object. See:
Example of adding context information to our log messages (e.g., client IP address from the Flask request context): Adding context and formatting to our logs
The title is quite self-explanatory.