Browse Source

fix(windows): set EMQX_LOG_DIR env variable

Zaiming (Stone) Shi 2 năm trước cách đây
mục cha
commit
1081a8f041
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      bin/emqx.cmd

+ 1 - 0
bin/emqx.cmd

@@ -46,6 +46,7 @@
 @set "RUNNER_ROOT_DIR=%rel_root_dir%"
 :: hard code etc dir
 @set "EMQX_ETC_DIR=%rel_root_dir%\etc"
+@set "EMQX_LOG_DIR=%rel_root_dir%\log"
 @set "etc_dir=%rel_root_dir%\etc"
 @set "lib_dir=%rel_root_dir%\lib"
 @set "emqx_conf=%etc_dir%\emqx.conf"