Toby Bradshaw wrote:
>
> Well problem worked around by using echo=True for dev builds and thanks
> for your suggestion.
>
> Your statement:
>
>> Doing setLevel() etc. you have to do
> before any SQLAlchemy code is imported
>
> Unfortunately doesn't seem to help since the logging module later repor
Well problem worked around by using echo=True for dev builds and thanks
for your suggestion.
Your statement:
> Doing setLevel() etc. you have to do
before any SQLAlchemy code is imported
Unfortunately doesn't seem to help since the logging module later reports:
"No handlers could be found for
Toby Bradshaw wrote:
>
> Hi,
>
> Succintly: What's the correct way to set up logging in SQLAlchemy 0.5.2 ??
>
> The docs say simply set the logger level correctly. However I notice in
> the source that most classes make a check on _should_log_info (which is
> set during __init__) before deciding w