diff options
Diffstat (limited to 'src/mailman/core/logging.py')
| -rw-r--r-- | src/mailman/core/logging.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mailman/core/logging.py b/src/mailman/core/logging.py index f4b9a1da1..c9285af92 100644 --- a/src/mailman/core/logging.py +++ b/src/mailman/core/logging.py @@ -32,7 +32,6 @@ import codecs import logging from lazr.config import as_boolean, as_log_level - from mailman.config import config @@ -42,8 +41,7 @@ _handlers = {} # XXX I would love to simplify things and use Python's WatchedFileHandler, but # there are two problems. First, it's more difficult to handle the test -# suite's need to reopen the file handler to a different path. Does -# zope.testing's logger support fix this? +# suite's need to reopen the file handler to a different path. # # The other problem is that WatchedFileHandler doesn't really easily support # HUPing the process to reopen the log file. Now, maybe that's not a big deal @@ -149,9 +147,9 @@ def initialize(propagate=None): log = logging.getLogger('flufl.lock') if sub_name == 'database': # Set both the SQLAlchemy and Alembic logs to the mailman.database - # log configuration, essentially ignoring the alembic.cfg - # settings. Do the SQLAlchemy one first, then let the Alembic one - # fall through to the common code path. + # log configuration, essentially ignoring the alembic.cfg settings. + # Do the SQLAlchemy one first, then let the Alembic one fall + # through to the common code path. log = logging.getLogger('sqlalchemy') _init_logger(propagate, sub_name, log, logger_config) log = logging.getLogger('alembic') |
