This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 56490de0b [ISSUE #5741]Specifiy logback configuration file in cmd
command line for windows platform (#5744)
56490de0b is described below
commit 56490de0b357fb5194f73c3ccbe9abd143db5b66
Author: mxsm <[email protected]>
AuthorDate: Sat Dec 31 14:11:08 2022 +0800
[ISSUE #5741]Specifiy logback configuration file in cmd command line for
windows platform (#5744)
---
distribution/bin/mqadmin.cmd | 2 +-
distribution/bin/mqbroker.cmd | 2 +-
distribution/bin/mqcontroller.cmd | 2 +-
distribution/bin/mqnamesrv.cmd | 2 +-
distribution/bin/mqproxy.cmd | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/distribution/bin/mqadmin.cmd b/distribution/bin/mqadmin.cmd
index 4e061f0ef..a28facb1f 100644
--- a/distribution/bin/mqadmin.cmd
+++ b/distribution/bin/mqadmin.cmd
@@ -15,4 +15,4 @@ rem See the License for the specific language governing
permissions and
rem limitations under the License.
if not exist "%ROCKETMQ_HOME%\bin\tools.cmd" echo Please set the ROCKETMQ_HOME
variable in your environment! & EXIT /B 1
-call "%ROCKETMQ_HOME%\bin\tools.cmd"
org.apache.rocketmq.tools.command.MQAdminStartup %*
\ No newline at end of file
+call "%ROCKETMQ_HOME%\bin\tools.cmd"
-Drmq.logback.configurationFile=%ROCKETMQ_HOME%\conf\rmq.tools.logback.xml
org.apache.rocketmq.tools.command.MQAdminStartup %*
\ No newline at end of file
diff --git a/distribution/bin/mqbroker.cmd b/distribution/bin/mqbroker.cmd
index 3efb47577..644e217a2 100644
--- a/distribution/bin/mqbroker.cmd
+++ b/distribution/bin/mqbroker.cmd
@@ -16,7 +16,7 @@ rem limitations under the License.
if not exist "%ROCKETMQ_HOME%\bin\runbroker.cmd" echo Please set the
ROCKETMQ_HOME variable in your environment! & EXIT /B 1
-call "%ROCKETMQ_HOME%\bin\runbroker.cmd"
org.apache.rocketmq.broker.BrokerStartup %*
+call "%ROCKETMQ_HOME%\bin\runbroker.cmd"
-Drmq.logback.configurationFile=%ROCKETMQ_HOME%\conf\rmq.broker.logback.xml
org.apache.rocketmq.broker.BrokerStartup %*
IF %ERRORLEVEL% EQU 0 (
ECHO "Broker starts OK"
diff --git a/distribution/bin/mqcontroller.cmd
b/distribution/bin/mqcontroller.cmd
index da7c075b6..95fae9724 100644
--- a/distribution/bin/mqcontroller.cmd
+++ b/distribution/bin/mqcontroller.cmd
@@ -16,7 +16,7 @@ rem limitations under the License.
if not exist "%ROCKETMQ_HOME%\bin\runserver.cmd" echo Please set the
ROCKETMQ_HOME variable in your environment! & EXIT /B 1
-call "%ROCKETMQ_HOME%\bin\runserver.cmd"
org.apache.rocketmq.controller.ControllerStartup %*
+call "%ROCKETMQ_HOME%\bin\runserver.cmd"
-Drmq.logback.configurationFile=%ROCKETMQ_HOME%\conf\rmq.controller.logback.xml
org.apache.rocketmq.controller.ControllerStartup %*
IF %ERRORLEVEL% EQU 0 (
ECHO "Controller starts OK"
diff --git a/distribution/bin/mqnamesrv.cmd b/distribution/bin/mqnamesrv.cmd
index 2828bdc28..97219d86e 100644
--- a/distribution/bin/mqnamesrv.cmd
+++ b/distribution/bin/mqnamesrv.cmd
@@ -16,7 +16,7 @@ rem limitations under the License.
if not exist "%ROCKETMQ_HOME%\bin\runserver.cmd" echo Please set the
ROCKETMQ_HOME variable in your environment! & EXIT /B 1
-call "%ROCKETMQ_HOME%\bin\runserver.cmd"
org.apache.rocketmq.namesrv.NamesrvStartup %*
+call "%ROCKETMQ_HOME%\bin\runserver.cmd"
-Drmq.logback.configurationFile=%ROCKETMQ_HOME%\conf\rmq.namesrv.logback.xml
org.apache.rocketmq.namesrv.NamesrvStartup %*
IF %ERRORLEVEL% EQU 0 (
ECHO "Namesrv starts OK"
diff --git a/distribution/bin/mqproxy.cmd b/distribution/bin/mqproxy.cmd
index d5f58e4de..51f7b2118 100644
--- a/distribution/bin/mqproxy.cmd
+++ b/distribution/bin/mqproxy.cmd
@@ -16,7 +16,7 @@ rem limitations under the License.
if not exist "%ROCKETMQ_HOME%\bin\runserver.cmd" echo Please set the
ROCKETMQ_HOME variable in your environment! & EXIT /B 1
-call "%ROCKETMQ_HOME%\bin\runserver.cmd"
org.apache.rocketmq.proxy.ProxyStartup %*
+call "%ROCKETMQ_HOME%\bin\runserver.cmd"
-Drmq.logback.configurationFile=%ROCKETMQ_HOME%\conf\rmq.proxy.logback.xml
org.apache.rocketmq.proxy.ProxyStartup %*
IF %ERRORLEVEL% EQU 0 (
ECHO "Proxy starts OK"