Procházet zdrojové kódy

docs: add changelog for PR 12672

zmstone před 1 rokem
rodič
revize
9357e6610a
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. 10 0
      changes/ce/fix-12672.en.md

+ 10 - 0
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.