[logging] problems in Python 2.3

Frantisek Fuka fuka at fuxoft.cz
Fri Feb 20 15:45:43 EST 2004


I am using the standard "logging" module included with Python and it 
seems it doesn't correctly identify the filename (and thus module name) 
from where the logging method was called. In fact, no matter from which 
module I call the logging method, the resulting log says that the 
filename of the caller is:

\tmp\python.2664\usr\lib\python2.3\logging\__init__.py

(this seems to me like a reference to the logging module itself combined 
with some sort of weird temporary storage)

This happens on my Windows98 machine both under Cygwin and under Windows 
Python (both of them 2.3). When I try the exact same script on the Linux 
server with Python 2.2 installed, it displays the filenames correctly.

-- 
                                          Frantisek Fuka
(yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
----------------------------------------------------
My E-mail:   fuka at fuxoft.cz
My Homepage: http://www.fuxoft.cz
My ICQ:      2745855



More information about the Python-list mailing list