From 7d7ad9bd28876b24f6bc86e0c849001ed975124e Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Tue, 10 Mar 2020 18:14:28 +1100 Subject: [PATCH] [MISC] Adjust TLS log messages (#701) * [MISC] Adjust TLS log messages * [MISC] Fix integration tests --- internal/server/server.go | 4 ++-- internal/suites/environment.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/server/server.go b/internal/server/server.go index f09ab2e0e..1beb38de7 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -104,13 +104,13 @@ func StartServer(configuration schema.Configuration, providers middlewares.Provi addrPattern := fmt.Sprintf("%s:%d", configuration.Host, configuration.Port) if configuration.TLSCert != "" && configuration.TLSKey != "" { - logging.Logger().Infof("Authelia is listening on %s and uses TLS", addrPattern) + logging.Logger().Infof("Authelia is listening for TLS connections on %s", addrPattern) logging.Logger().Fatal(fasthttp.ListenAndServeTLS(addrPattern, configuration.TLSCert, configuration.TLSKey, middlewares.LogRequestMiddleware(router.Handler))) } else { - logging.Logger().Infof("Authelia is listening on %s and do not use TLS", addrPattern) + logging.Logger().Infof("Authelia is listening for non-TLS connections on %s", addrPattern) logging.Logger().Fatal(fasthttp.ListenAndServe(addrPattern, middlewares.LogRequestMiddleware(router.Handler))) diff --git a/internal/suites/environment.go b/internal/suites/environment.go index e82bf862f..d59bc48e0 100644 --- a/internal/suites/environment.go +++ b/internal/suites/environment.go @@ -41,7 +41,7 @@ func waitUntilAutheliaBackendIsReady(dockerEnvironment *DockerEnvironment) error 90*time.Second, dockerEnvironment, "authelia-backend", - []string{"Authelia is listening on"}) + []string{"Authelia is listening for"}) } func waitUntilAutheliaFrontendIsReady(dockerEnvironment *DockerEnvironment) error {