Roundup Tracker - Issues

Issue 1108577

classification
Logging Faliure
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : richard
Priority: normal :

Created on 2005-01-24 19:38 by anonymous, last changed 2005-02-14 02:48 by richard.

Files
File name Uploaded Description Edit Remove
pythonLogging.cfg anonymous, 2005-01-24 19:38 pythonlogging.cfg
Messages
msg1836 Author: [hidden] (anonymous) Date: 2005-01-24 19:38
Using roundup 0.80b2

When I tried to turn on logging to try and figure out
the back end I made and bigger mess and roundup choked
on startup with File
"C:\Python23\Lib\site-packages\roundup\configuration.py",
line 1076, in init_logging
    _logging.fileConfig(_file)
AttributeError: 'module' object has no attribute
'fileConfig'

I use a slightly modified version of the logging config
example from
http://www.python.org/doc/2.3/lib/node299.html 

I've never used python logging before and not sure if
what I setup was correct.

here is the contents of my config.ini file:
[logging]
config = pythonLogging.cfg
filename = logs\roundupDebug.log
level = DEBUG

regards,
greg_w_moore@ctb.com
msg1837 Author: [hidden] (richard) Date: 2005-02-14 02:48
Logged In: YES 
user_id=6405

I've fixed the handling of logging config files in CVS. Your config file has 
errors though. 
History
Date User Action Args
2005-01-24 19:38:23anonymouscreate