slievrly commented on code in PR #6417:
URL: https://github.com/apache/incubator-seata/pull/6417#discussion_r1527173414
##########
server/src/main/java/org/apache/seata/server/ServerApplication.java:
##########
@@ -18,15 +18,32 @@
import java.io.IOException;
+import org.apache.seata.core.protocol.Version;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
+ * Server Application
*/
@SpringBootApplication(scanBasePackages = {"org.apache.seata"})
public class ServerApplication {
public static void main(String[] args) throws IOException {
// run the spring-boot application
- SpringApplication.run(ServerApplication.class, args);
+ SpringApplication app = new SpringApplication(ServerApplication.class);
+ // set the banner and version information
+ app.setBanner((environment, sourceClass, out) -> {
+
out.println("====================================================================");
+ out.println(" _ _____
_ \n" +
Review Comment:
I don't think it is a good choice to put this graph into the code, which
will be less maintainable. Step back, you can read this graph and put it into
the output stream.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]