Patches item #1417339, was opened at 2006-01-28 14:51
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1417339&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Invalid
Priority: 5
Submitted By: Maxim F. Ischenko (mfi)
Assigned to: Nobody/Anonymous (nobody)
Summary: debug SQL queries recorded through logging module
Initial Comment:
The patch adds support for standard logging module for
DBConnection classes which is crucial for using
sqlobject in cgi scripts -- you can't use STDOUT
because it is sent to the browser.
Logging is activated if user specifies logger key, the
key also serves as a logger name to be used.
This is a duplicate of the previous ticket, only with a
file attacheed (hope so).
----------------------------------------------------------------------
>Comment By: Oleg Broytmann (phd)
Date: 2006-01-31 18:39
Message:
Logged In: YES
user_id=4799
Module logging is only available in Python 2.3. SQLObject is
supposed to work with Python 2.2. You have to catch
ImportError and provide a graceful fallback.
After 0.8 I'd like to deprecate support for Python 2.2.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1417339&group_id=74338
|