--- a/cwconfig.py Thu Mar 24 13:30:14 2011 +0100
+++ b/cwconfig.py Tue Apr 05 08:39:49 2011 +0200
@@ -139,6 +139,7 @@
import sys
import os
import logging
+import logging.config
from smtplib import SMTP
from threading import Lock
from os.path import (exists, join, expanduser, abspath, normpath,
@@ -1098,7 +1099,7 @@
# read a config file if it exists
logconfig = join(self.apphome, 'logging.conf')
if exists(logconfig):
- logging.fileConfig(logconfig)
+ logging.config.fileConfig(logconfig)
def available_languages(self, *args):
"""return available translation for an instance, by looking for