docs: add changelog for PR 12672

This commit is contained in:
zmstone 2024-03-13 09:43:50 +01:00
parent 1c60eb3d75
commit 9357e6610a
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Load `{data_dir}/configs/cluster.hocon` when generating node boot config.
Logging related config changes made from the dashboard are persisted in `{data_dir}/configs/cluster.hocon`.
Prior to this change, it only takes `etc/emqx.conf` to generate the boot config (including the logger part),
then `{data_dir}/configs/cluster.hocon` is loaded to reconfigure the logger after boot is complete.
This late reconfigure may cause some log segment files to be lost.
Now `{data_dir}/configs/cluster.hocon` and `etc/emqx.conf` are both loaded (`emqx.conf` overlaying on top)
to generate boot config.