This is an automated email from the ASF dual-hosted git repository.

caiconghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new e21bb50  [LOG] Errors during mysql connection establishment should be 
warned (#6257)
e21bb50 is described below

commit e21bb504a200c494e2319a70d0fe76ea752737d0
Author: zhoukang <[email protected]>
AuthorDate: Sun Jul 18 20:54:40 2021 +0800

    [LOG] Errors during mysql connection establishment should be warned (#6257)
    
    * Errors during mysql connection establishment should be warned
    
    Co-authored-by: yuzhou.zk <[email protected]>
---
 fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java 
b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
index e0cd3ab..a2e191c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
@@ -82,6 +82,8 @@ public class AcceptListener implements 
ChannelListener<AcceptingChannel<StreamCo
                     // should be unexpected exception, so print warn log
                     if (context.getCurrentUserIdentity() != null) {
                         LOG.warn("connect processor exception because ", e);
+                    } else if (e instanceof Error) {
+                        LOG.error("connect processor exception because ", e);
                     } else {
                         // for unauthrorized access such lvs probe request, 
may cause exception, just log it in debug level
                         LOG.debug("connect processor exception because ", e);

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to