Did you pass echo=True
to create_engine()
? By default it creates StreamHandler which outputs to console. As documentation says, if you didn’t provide any echo=True
arguments and didn’t configure root sqlalchemy
logger, it will not log anything.
Related Contents:
- Where is a complete example of logging.config.dictConfig?
- How to add a custom loglevel to Python’s logging facility
- Python, want logging with log rotation and compression
- Python – Avoid passing logger reference between functions?
- Using a variable while calling logger.setLevel
- How do I change the format of a Python log message on a per-logger basis?
- How do I log from my Python Spark script
- PyCharm logging output colours
- How to right align level field in Python logging.Formatter
- How do I write Flask’s excellent debug log message to a file in production?
- How to set timestamps on GMT/UTC on Python logging?
- python does not release filehandles to logfile
- How to limit log file size in python
- Python: Logging TypeError: not all arguments converted during string formatting
- Python logging file config KeyError: ‘formatters’
- python logging ensure a handler is added only once
- Logging hierarchy vs. root logger?
- How to write custom python logging handler?
- python logging module is not writing anything to file
- Replace default handler of Python logger
- How to use logging with python’s fileConfig and configure the logfile filename
- logging with filters
- Changing logging’s ‘basicConfig’ which is already set
- How come the Python’s logging module doesn’t follow PEP8 conventions?
- Suppress newline in Python logging module
- Python logging before you run logging.basicConfig?
- Redirect Python ‘print’ output to Logger
- python logging to database
- How to print current logging configuration used by the python logging module?
- How do I get logger to delete existing log file before writing to it again?
- Python logging – check location of log files?
- What is Python’s default logging formatter?
- Why are both “import logging” and “import logging.config” needed?
- UTF-8 In Python logging, how?
- redirect prints to log file
- How to get the current log level in python logging module
- How do I write to the console in Google App Engine?
- How to insert newline in python logging?
- Naming Python loggers
- logging setLevel, how it works
- Python logging configuration file
- How can I log a dictionary into a log file?
- How to log error to file, and not fail on exception
- How can I log outside of main Flask module?
- Python logging and rotating files
- How do you add datetime to a logfile name?
- Python logging in Django
- Python logging.Formatter(): is there any way to fix the width of a field and justify it left/right?
- install filter on logging level in python using dictConfig
- SQLAlchemy query where a column contains a substring