How to debug embeding Python?
Vinay Sajip
vinay_sajip at yahoo.co.uk
Tue Dec 30 23:57:57 EST 2008
On Dec 30, 1:32 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> Additionally, printing might not work reliably in cases where the
> stdout/err-streams aren't visible or otherwise in use. But thelogging-module can log to files (or even system event logs *me thinks*)
>
Yes - syslog is supported on Unix, as well as a host of other ways of
getting information out of your application. See
http://docs.python.org/library/logging.html#streamhandler
This is a list of handlers included with the logging package, starting
with StreamHandler.
Regards,
Vinay Sajip
More information about the Python-list
mailing list