You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/30 14:42:57 UTC

[GitHub] [pulsar] hapihu opened a new issue #4408: [pulsar-broker][pulsar-common][pulsar-client]Incorrect log parameters

hapihu opened a new issue #4408: [pulsar-broker][pulsar-common][pulsar-client]Incorrect log parameters
URL: https://github.com/apache/pulsar/issues/4408
 
 
   
   1. File: /pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v1/NonPersistentTopics.java
   ```java
   //line165
   log.info("[{}] list of topics on namespace {}/{}/{}/{}", clientAppId(), property, cluster, namespace);
   ```
   2. File:pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
   ```java
   //line1315
   log.warn("[{]] Error GetTopicsOfNamespace for namespace [//{}] by {}",
                   remoteAddress, namespace, requestId);
   ```
   3. File:pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java
   ```java
   //line178
   //One 'should' word should be deleted
   checkState(topics != null && topics.size() >= 1,
               "topics should should contain more than 1 topic");
   
   //line199
   log.warn("[{}] Received invalid topic name.  {}/{}", result.get());
   ```
   
   4. File: pulsar-common/src/main/java/org/apache/pulsar/common/naming/NamespaceName.java
   
   ```java
   //line178
   throw new IllegalArgumentException(
                       String.format("Invalid namespace format. namespace: %s/%s/%s", tenant, namespace), e);
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services