Skip to content

Commit

Permalink
Avoid noisy print, improve text
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Sep 13, 2023
1 parent fe6afa5 commit 5728d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,12 @@ func (app *App) listen() {
go func() {
a.ListenAndServe()
}()
logger.Log.Infof("Waiting for Acceptor %s to start on addr %s", reflect.TypeOf(a), a.GetConfiguredAddress())

for a.IsRunning() == false {
logger.Log.Infof("Waiting for TCP acceptor %s to start on addr %s", reflect.TypeOf(a), a.GetConfiguredAddress())
}

logger.Log.Infof("listening with acceptor %s on addr %s", reflect.TypeOf(a), a.GetAddr())
logger.Log.Infof("Acceptor %s on addr %s is now accepting connections", reflect.TypeOf(a), a.GetAddr())
}

if app.serverMode == Cluster && app.server.Frontend && app.config.Session.Unique {
Expand Down

0 comments on commit 5728d27

Please sign in to comment.