Refactor changelog entries for clarity and consistency in configuration reload section

This commit is contained in:
Sean Whalen
2026-03-21 11:44:47 -04:00
parent 7ec02137b8
commit ea225e2340
2 changed files with 9 additions and 18 deletions
+1
View File
@@ -90,6 +90,7 @@
"mitigations",
"MMDB",
"modindex",
"msconfig",
"msgconvert",
"msgraph",
"MSSP",
+8 -18
View File
@@ -4,24 +4,14 @@
### Added
- SIGHUP-based configuration reload for watch mode — update output
destinations, DNS/GeoIP settings, processing flags, and log level
without restarting the service or interrupting in-progress report
processing. Use `systemctl reload parsedmarc` when running under
systemd. On a successful reload, old output clients are closed and
recreated. On a failed reload, the previous configuration remains
fully active.
- `close()` methods on GelfClient, KafkaClient, SyslogClient,
WebhookClient, HECClient, and S3Client for clean resource teardown
on reload.
- `should_reload` parameter on all `MailboxConnection.watch()`
implementations and `watch_inbox()` to ensure SIGHUP never triggers
a new email batch mid-reload.
- Elasticsearch and OpenSearch connections are now tracked and cleaned
up on reload via `_close_output_clients()`.
- Extracted `_parse_config_file()` and `_init_output_clients()` from
`_main()` in `cli.py` to support config reload and reduce code
duplication.
- SIGHUP-based configuration reload for watch mode — update output destinations, DNS/GeoIP settings, processing flags, and log level without restarting the service or interrupting in-progress report processing.
- Use `systemctl reload parsedmarc` when running under `systemd`.
- On a successful reload, old output clients are closed and recreated.
- On a failed reload, the previous configuration remains fully active.
- `close()` methods on `GelfClient`, `KafkaClient`, `SyslogClient`, `WebhookClient`, HECClient, and `S3Client` for clean resource teardown on reload.
- `should_reload` parameter on all `MailboxConnection.watch()` implementations and `watch_inbox()` to ensure SIGHUP never triggers a new email batch mid-reload.
- Elasticsearch and OpenSearch connections are now tracked and cleaned up on reload via `_close_output_clients()`.
- Extracted `_parse_config_file()` and `_init_output_clients()` from `_main()` in `cli.py` to support config reload and reduce code duplication.
## 9.2.1