This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 96c5bc80c5 NIFI-10376 Set log directory in run-nifi-registry.bat
96c5bc80c5 is described below
commit 96c5bc80c51cc39302f712fc4f0a55839122573c
Author: nathluu <[email protected]>
AuthorDate: Sat Aug 20 08:27:27 2022 +0700
NIFI-10376 Set log directory in run-nifi-registry.bat
This closes #6318
Signed-off-by: David Handermann <[email protected]>
---
.../src/main/resources/bin/run-nifi-registry.bat | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-resources/src/main/resources/bin/run-nifi-registry.bat
b/nifi-registry/nifi-registry-core/nifi-registry-resources/src/main/resources/bin/run-nifi-registry.bat
index 34d9c8dda2..4d8f838e02 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-resources/src/main/resources/bin/run-nifi-registry.bat
+++
b/nifi-registry/nifi-registry-core/nifi-registry-resources/src/main/resources/bin/run-nifi-registry.bat
@@ -37,9 +37,10 @@ set LIB_DIR=%NIFI_REGISTRY_ROOT%\lib
set SHARED_DIR=%NIFI_REGISTRY_ROOT%\lib\shared
set BOOTSTRAP_DIR=%NIFI_REGISTRY_ROOT%\lib\bootstrap
set CONF_DIR=%NIFI_REGISTRY_ROOT%\conf
+set LOG_DIR=%NIFI_REGISTRY_ROOT%\logs
set BOOTSTRAP_CONF_FILE=%CONF_DIR%\bootstrap.conf
-set
JAVA_ARGS=-Dorg.apache.nifi.registry.bootstrap.config.file=%BOOTSTRAP_CONF_FILE%
+set
JAVA_ARGS=-Dorg.apache.nifi.registry.bootstrap.config.file=%BOOTSTRAP_CONF_FILE%
-Dorg.apache.nifi.registry.bootstrap.config.log.dir=%LOG_DIR%
SET JAVA_PARAMS=-cp %CONF_DIR%;%LIB_DIR%\*;%SHARED_DIR%\*;%BOOTSTRAP_DIR%\*
-Xms512m -Xmx1024m %JAVA_ARGS% org.apache.nifi.registry.NiFiRegistry
set BOOTSTRAP_ACTION=run