Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 4420:9655a1b65974
- more logger fixes -- use correct hierarchical logger names...
...always starting with "roundup." -- otherwise logger configuration
changed in changeset
2010-08-09T03:36:06Z!schlatterbeck@users.sourceforge.net will not work
(e.g. turning debugging on)
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Thu, 16 Sep 2010 07:44:50 +0000 |
| parents | 887a153cedec |
| children | 579802067547 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Mon Sep 13 17:08:41 2010 +0000 +++ b/roundup/roundupdb.py Thu Sep 16 07:44:50 2010 +0000 @@ -137,7 +137,7 @@ # Because getting a logger requires acquiring a lock, we want # to do it only once. if not hasattr(self, '__logger'): - self.__logger = logging.getLogger('hyperdb') + self.__logger = logging.getLogger('roundup.hyperdb') return self.__logger
