You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2021/11/15 20:05:28 UTC
[pulsar] branch master updated: [Java Client] Use info, not warn, log level when successfully registering schema (#12819)
This is an automated email from the ASF dual-hosted git repository.
mmerli 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 e993f32 [Java Client] Use info, not warn, log level when successfully registering schema (#12819)
e993f32 is described below
commit e993f32cfe84a16079805eb0fb9cf75881df2829
Author: Michael Marshall <mi...@datastax.com>
AuthorDate: Mon Nov 15 14:04:17 2021 -0600
[Java Client] Use info, not warn, log level when successfully registering schema (#12819)
---
.../src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
index 40c9b99..3db270c 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
@@ -648,7 +648,7 @@ public class ProducerImpl<T> extends ProducerBase<T> implements TimerTask, Conne
callback.sendComplete((PulsarClientException.IncompatibleSchemaException) t);
}
} else {
- log.warn("[{}] [{}] GetOrCreateSchema succeed", topic, producerName);
+ log.info("[{}] [{}] GetOrCreateSchema succeed", topic, producerName);
SchemaHash schemaHash = SchemaHash.of(msg.getSchemaInternal());
schemaCache.putIfAbsent(schemaHash, v);
msg.getMessageBuilder().setSchemaVersion(v);