This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.9 by this push:
new bdd57b2 [Java Client] Use info, not warn, log level when successfully
registering schema (#12819)
bdd57b2 is described below
commit bdd57b21a66b81aab72c4ec39d516ffd2a769c35
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)
(cherry picked from commit e993f32cfe84a16079805eb0fb9cf75881df2829)
---
.../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 34e4b6c..7ee00e7 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
@@ -630,7 +630,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);