Mercurial > p > roundup > code
diff roundup/mailgw.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 | 863ec554525c |
| children | f1affb6b7a08 |
line wrap: on
line diff
--- a/roundup/mailgw.py Mon Sep 13 17:08:41 2010 +0000 +++ b/roundup/mailgw.py Thu Sep 16 07:44:50 2010 +0000 @@ -520,7 +520,7 @@ self.default_class = value.strip() self.mailer = Mailer(instance.config) - self.logger = logging.getLogger('mailgw') + self.logger = logging.getLogger('roundup.mailgw') # should we trap exceptions (normal usage) or pass them through # (for testing)
