This is an automated email from the ASF dual-hosted git repository.

houxiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new f029757ecb9 [improve][broker] Optimize the log printing of 
PulsarService (#18244)
f029757ecb9 is described below

commit f029757ecb9653a97710f2bac563d247d04feb63
Author: HuangZeGui <[email protected]>
AuthorDate: Mon Oct 31 23:16:47 2022 +0800

    [improve][broker] Optimize the log printing of PulsarService (#18244)
---
 .../src/main/java/org/apache/pulsar/broker/PulsarService.java        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
index e31256177b0..ec7a8f85fff 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
@@ -902,9 +902,8 @@ public class PulsarService implements AutoCloseable, 
ShutdownService {
                     + (config.getWebServicePortTls().isPresent() ? ", tls-port 
= " + config.getWebServicePortTls() : "")
                     + (StringUtils.isNotEmpty(brokerServiceUrl) ? ", broker 
url= " + brokerServiceUrl : "")
                     + (StringUtils.isNotEmpty(brokerServiceUrlTls) ? ", broker 
tls url= " + brokerServiceUrlTls : "");
-            LOG.info("messaging service is ready, bootstrap_seconds={}", 
bootstrapTimeSeconds);
-            LOG.info("messaging service is ready, {}, cluster={}, configs={}", 
bootstrapMessage,
-                    config.getClusterName(), config);
+            LOG.info("messaging service is ready, bootstrap_seconds={}, {}, 
cluster={}, configs={}",
+                    bootstrapTimeSeconds, bootstrapMessage, 
config.getClusterName(), config);
 
             state = State.Started;
         } catch (Exception e) {

Reply via email to