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

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 5ef8e6f  [Bug] [seatunnel-core-base] Console prints AsciiLogo error 
(#1078)
5ef8e6f is described below

commit 5ef8e6f6d8fbc2dfdd7e83abe60c419391b4d701
Author: wuchunfu <[email protected]>
AuthorDate: Mon Jan 17 09:32:40 2022 +0800

    [Bug] [seatunnel-core-base] Console prints AsciiLogo error (#1078)
---
 .../src/main/java/org/apache/seatunnel/common/Constants.java           | 2 ++
 .../src/main/java/org/apache/seatunnel/Seatunnel.java                  | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/seatunnel-common/src/main/java/org/apache/seatunnel/common/Constants.java 
b/seatunnel-common/src/main/java/org/apache/seatunnel/common/Constants.java
index ebf1ec6..11c1c75 100644
--- a/seatunnel-common/src/main/java/org/apache/seatunnel/common/Constants.java
+++ b/seatunnel-common/src/main/java/org/apache/seatunnel/common/Constants.java
@@ -22,6 +22,8 @@ public final class Constants {
     public static final String ROW_TMP = "__tmp__";
     public static final String ROW_JSON = "__json__";
 
+    public static final String LOGO = "SeaTunnel";
+
     public static final String CHECK_SUCCESS = "All check is success";
 
     private Constants() {
diff --git 
a/seatunnel-core/seatunnel-core-base/src/main/java/org/apache/seatunnel/Seatunnel.java
 
b/seatunnel-core/seatunnel-core-base/src/main/java/org/apache/seatunnel/Seatunnel.java
index 16b2cd0..1a89be0 100644
--- 
a/seatunnel-core/seatunnel-core-base/src/main/java/org/apache/seatunnel/Seatunnel.java
+++ 
b/seatunnel-core/seatunnel-core-base/src/main/java/org/apache/seatunnel/Seatunnel.java
@@ -20,6 +20,7 @@ package org.apache.seatunnel;
 import org.apache.seatunnel.apis.BaseSink;
 import org.apache.seatunnel.apis.BaseSource;
 import org.apache.seatunnel.apis.BaseTransform;
+import org.apache.seatunnel.common.Constants;
 import org.apache.seatunnel.common.config.CheckResult;
 import org.apache.seatunnel.common.config.Common;
 import org.apache.seatunnel.common.config.ConfigRuntimeException;
@@ -158,7 +159,7 @@ public class Seatunnel {
     private static void showAsciiLogo() {
         String printAsciiLogo = System.getenv("SEATUNNEL_PRINT_ASCII_LOGO");
         if ("true".equalsIgnoreCase(printAsciiLogo)) {
-            AsciiArtUtils.printAsciiArt(printAsciiLogo);
+            AsciiArtUtils.printAsciiArt(Constants.LOGO);
         }
     }
 

Reply via email to