diff --git a/changes/ce/fix-12672.en.md b/changes/ce/fix-12672.en.md new file mode 100644 index 000000000..9ed3a3922 --- /dev/null +++ b/changes/ce/fix-12672.en.md @@ -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.