With turbogears 2.1 and sqlalchemy 0.7, console requests were logged on stdout. However, I needed to drop to 0.6, and they no longer appeared. The logging documentation seems identical, and I could not find anything in the change log. How to enter sqlalchemy 0.6?
EDIT is DBSession.bind.echo set to False. If I installed it in True, it will work. Any idea how to install it correctly (I'v changed model/__init__.pysetting engine.echo = True).
DBSession.bind.echo
False
True
model/__init__.py
engine.echo = True
The configuration file must contain the specified parameters. Look for those insidedevelopment.ini
development.ini
sqlalchemy.echo = true sqlalchemy.echo_pool = true
TurboGears, , engine echo True, .
echo
engine = sqlalchemy.create_engine('sqlite:///:memory:', echo=True)
echo False, stdout. , TG SA -.