summaryrefslogtreecommitdiff
path: root/src/mailman/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/config')
-rw-r--r--src/mailman/config/config.py2
-rw-r--r--src/mailman/config/schema.cfg3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py
index 0ba88e089..52cac414f 100644
--- a/src/mailman/config/config.py
+++ b/src/mailman/config/config.py
@@ -87,7 +87,6 @@ class Configuration:
self.pipelines = {}
self.commands = {}
self.password_context = None
- self.initialized = False
def _clear(self):
"""Clear the cached configuration variables."""
@@ -137,7 +136,6 @@ class Configuration:
# Expand and set up all directories.
self._expand_paths()
self.ensure_directories_exist()
- self.initialized = True
notify(ConfigurationUpdatedEvent(self))
def _expand_paths(self):
diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg
index 3e628fa47..be5cdb395 100644
--- a/src/mailman/config/schema.cfg
+++ b/src/mailman/config/schema.cfg
@@ -226,6 +226,7 @@ debug: no
# - archiver -- All archiver output
# - bounce -- All bounce processing logs go here
# - config -- Configuration issues
+# - database -- Database logging (SQLAlchemy and Alembic)
# - debug -- Only used for development
# - error -- All exceptions go to this log
# - fromusenet -- Information related to the Usenet to Mailman gateway
@@ -254,6 +255,8 @@ path: bounce.log
[logging.config]
+[logging.database]
+
[logging.debug]
path: debug.log
level: info