diff --git a/internal/outpost/ldap/ldap.go b/internal/outpost/ldap/ldap.go index b37dc1893..1ebe86d32 100644 --- a/internal/outpost/ldap/ldap.go +++ b/internal/outpost/ldap/ldap.go @@ -52,7 +52,7 @@ func (ls *LDAPServer) StartLDAPServer() error { ln, err := net.Listen("tcp", listen) if err != nil { - ls.log.WithField("listen", listen).WithError(err).Fatalf("FATAL: listen failed") + ls.log.WithField("listen", listen).WithError(err).Fatalf("listen failed") } proxyListener := &proxyproto.Listener{Listener: ln} defer proxyListener.Close() diff --git a/internal/outpost/ldap/ldap_tls.go b/internal/outpost/ldap/ldap_tls.go index f42d76a67..6a747451b 100644 --- a/internal/outpost/ldap/ldap_tls.go +++ b/internal/outpost/ldap/ldap_tls.go @@ -37,7 +37,7 @@ func (ls *LDAPServer) StartLDAPTLSServer() error { ln, err := net.Listen("tcp", listen) if err != nil { - ls.log.WithField("listen", listen).WithError(err).Fatalf("FATAL: listen failed") + ls.log.WithField("listen", listen).WithError(err).Fatalf("listen failed") } proxyListener := &proxyproto.Listener{Listener: ln} diff --git a/internal/outpost/proxyv2/proxyv2.go b/internal/outpost/proxyv2/proxyv2.go index 9ad69bdb2..f6cd68ff1 100644 --- a/internal/outpost/proxyv2/proxyv2.go +++ b/internal/outpost/proxyv2/proxyv2.go @@ -103,7 +103,7 @@ func (ps *ProxyServer) ServeHTTP() { listenAddress := fmt.Sprintf(ps.Listen, 9000+ps.PortOffset) listener, err := net.Listen("tcp", listenAddress) if err != nil { - ps.log.Fatalf("FATAL: listen (%s) failed - %s", listenAddress, err) + ps.log.WithField("listen", listenAddress).WithError(err).Fatalf("listen failed") } proxyListener := &proxyproto.Listener{Listener: listener} defer proxyListener.Close()