You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/27 07:38:51 UTC

[GitHub] [rocketmq] RongtongJin commented on a change in pull request #3174: [ISSUE #3173]Isolate Broker logs when multiple Broker services are deployed on the same machine.

RongtongJin commented on a change in pull request #3174:
URL: https://github.com/apache/rocketmq/pull/3174#discussion_r716433837



##########
File path: broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java
##########
@@ -187,6 +187,13 @@ public static BrokerController createBrokerController(String[] args) {
             JoranConfigurator configurator = new JoranConfigurator();
             configurator.setContext(lc);
             lc.reset();
+            System.setProperty("brokerLogDir", "");

Review comment:
       If it is set to "" here, will it be in the original directory by default?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org