mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-22 20:49:53 +00:00
Improve log output
This commit is contained in:
parent
7b68bbf84a
commit
a1bd044467
@ -729,8 +729,11 @@ func runServer(cmd *cobra.Command, args []string) {
|
||||
if err != nil {
|
||||
logger.Fatal("failed to initialize server", zap.Error(err))
|
||||
}
|
||||
if config.Listen == "" {
|
||||
logger.Info("hysteria server up and running on default address", zap.String("listen", ":443"))
|
||||
} else {
|
||||
logger.Info("hysteria server up and running", zap.String("listen", config.Listen))
|
||||
|
||||
}
|
||||
if !disableUpdateCheck {
|
||||
go runCheckUpdateServer()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user