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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 97c7c3175 [INLONG-6919][Audit] Fix bug that no exceptions are printed 
in the log (#7371)
97c7c3175 is described below

commit 97c7c3175a808253196a7145250f1fd7992ae052
Author: leosanqing <[email protected]>
AuthorDate: Wed Feb 15 18:34:07 2023 +0800

    [INLONG-6919][Audit] Fix bug that no exceptions are printed in the log 
(#7371)
---
 .../src/main/java/org/apache/inlong/audit/source/SimpleTcpSource.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/inlong-audit/audit-proxy/src/main/java/org/apache/inlong/audit/source/SimpleTcpSource.java
 
b/inlong-audit/audit-proxy/src/main/java/org/apache/inlong/audit/source/SimpleTcpSource.java
index 2e59036d6..63db9cf05 100644
--- 
a/inlong-audit/audit-proxy/src/main/java/org/apache/inlong/audit/source/SimpleTcpSource.java
+++ 
b/inlong-audit/audit-proxy/src/main/java/org/apache/inlong/audit/source/SimpleTcpSource.java
@@ -180,8 +180,7 @@ public class SimpleTcpSource extends AbstractSource 
implements Configurable, Eve
                 channelFuture = bootstrap.bind(new InetSocketAddress(host, 
port)).sync();
             }
         } catch (Exception e) {
-            logger.error("Simple TCP Source error bind host {} port {},program 
will exit!", host,
-                    port);
+            logger.error("Simple TCP Source bind {}:{} error, program will 
exit!", host, port, e);
             System.exit(-1);
         }
         logger.info("Simple TCP Source started at host {}, port {}", host, 
port);

Reply via email to