ShiningRush commented on a change in pull request #900:
URL: https://github.com/apache/apisix-dashboard/pull/900#discussion_r537553750



##########
File path: api/main.go
##########
@@ -35,6 +35,16 @@ import (
        "github.com/apisix/manager-api/log"
 )
 
+var Version string
+
+func printInfo() {
+       fmt.Fprint(os.Stdout, "The manager-api is running successfully!\n\n")
+       fmt.Fprintf(os.Stdout, "%-8s: %s\n", "Version", Version)
+       fmt.Fprintf(os.Stdout, "%-8s: %s:%d\n", "Listen", conf.ServerHost, 
conf.ServerPort)
+       fmt.Fprintf(os.Stdout, "%-8s: %s\n", "Loglevel", conf.ErrorLogLevel)

Review comment:
       Log info is described in config file, I think here show listen info is 
enough because this is the most important running info to user, how do you 
think?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to