remove trying port log as retry code will show errors

less logs !
This commit is contained in:
Adrien Delorme 2019-05-01 13:04:51 +02:00
parent 38f789eedc
commit b329073e54
1 changed files with 0 additions and 2 deletions

View File

@ -81,8 +81,6 @@ func (lc ListenRangeConfig) Listen(ctx context.Context) (*Listener, error) {
return ErrPortFileLocked(port)
}
log.Printf("Trying port: %d", port)
l, err := lc.ListenConfig.Listen(ctx, lc.Network, fmt.Sprintf("%s:%d", lc.Addr, port))
if err != nil {
if err := lock.Unlock(); err != nil {