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



##########
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:
       The listen info is also described in the config file. But we show it.
   So I think it's more convenient for users to get the log file path location 
if the file path is described in `relative path` format.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to