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 <[email protected]>
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);