[kforge-dev] fixed the logging issue
    Rufus Pollock 
    rufus.pollock at okfn.org
       
    Sun Feb 26 12:11:57 UTC 2006
    
    
  
Further to chat yesterday I have fixed the minor issue with logging in 
trunk and committed it:
Index: src/kforge/core/log.py
===================================================================
--- src/kforge/core/log.py      (revision 815)
+++ src/kforge/core/log.py      (working copy)
@@ -63,7 +67,7 @@
      fileHandler.setLevel(logLevel)
      rootLogger = logging.getLogger('')
-    applicationName = 'application'
+    applicationName = dictionary[DICTWORD_APPLICATION]
      applicationLogger = logging.getLogger(applicationName)
      rootLogger.addHandler(consoleHandler)
      applicationLogger.addHandler(fileHandler)
The problem was that we attached a handler to a logger called 
'application' rather than the logger called 'kforge' hence no logging 
messages.
I have still got 12 errors out of 160 tests all of are of the form:
Can't create X project/service/... becauses it already exists. Will look 
into these and see what I can do.
~rufus
    
    
More information about the kforge-dev
mailing list