A strange behaviour of logs in Pylons..
In development.ini I have 1 entry for
sqlalchemy.default.url=mysql://.....
and some simple additional logging configuration.
I have no logs printed (with custome handler) to the screen - and that
is intended and OK.
But when I add:
sqlalchemy.default.echo=False
sqlalchemy.default.echo_pool=False
sqlalchemy starts to print a lot of INFO information ("SHOW
CREATE*|VARIABLES*, Connetion stuff, queries and results).
Is that correct?
PS. This is part of environment.py
config['pylons.g'].sa_engine = engine_from_config(config,
'sqlalchemy.default.')
PS2. Just tried to change to this:
sqlalchemy.echo=False
sqlalchemy.echo_pool=False
and indeed I have no logs printed with above...
--
_i______'simplicity_is_the_key'__________tomasz_nazar
_ii____'i_am_concern_oriented'________________JKM-UPR
_iii__'patsystem.sf.net'___________________linux_user
_'aspectized.com'___________________________prevayler
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---