This is an automated email from the ASF dual-hosted git repository.
popduke pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bifromq.git
The following commit(s) were added to refs/heads/main by this push:
new 173eb37f Resolve the issue of LOG_DIR environment variable not working
(#171)
173eb37f is described below
commit 173eb37f8af41938f741619eb9475d813726b5c9
Author: yuanyang <[email protected]>
AuthorDate: Mon Aug 18 18:57:09 2025 +0800
Resolve the issue of LOG_DIR environment variable not working (#171)
Co-authored-by: liaodongnian <[email protected]>
---
build/build-bifromq-starter/bin/standalone.bat | 2 +-
build/build-bifromq-starter/bin/standalone.sh | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/build/build-bifromq-starter/bin/standalone.bat
b/build/build-bifromq-starter/bin/standalone.bat
index 34695ff0..64ed84f0 100755
--- a/build/build-bifromq-starter/bin/standalone.bat
+++ b/build/build-bifromq-starter/bin/standalone.bat
@@ -27,7 +27,7 @@ set BIN_DIR=%~dp0
for %%i in ("%BIN_DIR%\..") do (
set BASE_DIR=%%~fi
)
-set LOG_DIR=%BASE_DIR%\logs
+
set SCRIPT=%0
set COMMAND=%1
set FOREGROUND=%2
diff --git a/build/build-bifromq-starter/bin/standalone.sh
b/build/build-bifromq-starter/bin/standalone.sh
index dc2c7474..9e497bb6 100755
--- a/build/build-bifromq-starter/bin/standalone.sh
+++ b/build/build-bifromq-starter/bin/standalone.sh
@@ -23,7 +23,6 @@ BASE_DIR=$(
cd "$(dirname "$0")"
pwd
)/..
-export LOG_DIR=$BASE_DIR/logs
if [ $# -lt 1 ]; then
echo "USAGE: $0 {start|stop|restart} [-fg]"