You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/04/09 02:01:04 UTC
[doris] 01/12: [fix](ssl)refactor some SSL info logs to debug logs (#18234)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 0dac4b49fe4ca5d6826d4a7c87975eae9f8d4626
Author: abmdocrt <Yu...@gmail.com>
AuthorDate: Fri Mar 31 08:41:02 2023 +0800
[fix](ssl)refactor some SSL info logs to debug logs (#18234)
---
fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
index ba1920bd9d..8970e56a59 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
@@ -182,10 +182,10 @@ public class MysqlProto {
ByteBuffer handshakeResponse;
if (capability.isClientUseSsl()) {
- LOG.info("client is using ssl connection.");
+ LOG.debug("client is using ssl connection.");
// During development, we set SSL mode to true by default.
if (SERVER_USE_SSL) {
- LOG.info("server is also using ssl connection. Will use ssl mode for data exchange.");
+ LOG.debug("server is also using ssl connection. Will use ssl mode for data exchange.");
MysqlSslContext mysqlSslContext = context.getMysqlSslContext();
mysqlSslContext.init();
channel.initSslBuffer();
@@ -218,7 +218,7 @@ public class MysqlProto {
// Set channel mode to ssl mode to handle socket packet in ssl format.
channel.setSslMode(true);
- LOG.info("switch to ssl mode.");
+ LOG.debug("switch to ssl mode.");
handshakeResponse = channel.fetchOnePacket();
capability = new MysqlCapability(MysqlProto.readLowestInt4(handshakeResponse));
if (!capability.isClientUseSsl()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org