From 8858ed0c928159346599d2948fdb68e27bd2c3b2 Mon Sep 17 00:00:00 2001 From: "Greg T. Wallace" Date: Wed, 10 Jan 2024 18:30:26 -0500 Subject: [PATCH] tweak log messages --- pkg/main/https_server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/main/https_server.go b/pkg/main/https_server.go index d5cc4f5..02b4c97 100644 --- a/pkg/main/https_server.go +++ b/pkg/main/https_server.go @@ -30,12 +30,12 @@ func (app *app) startHttpsServer() error { } // launch https - app.logger.Infof("starting lego-certhub-client bound to %s", srv.Addr) + app.logger.Infof("starting lego-certhub-client https server bound to %s", srv.Addr) // create listener for web server ln, err := net.Listen("tcp", srv.Addr) if err != nil { - return fmt.Errorf("lego-certhub-client server cannot bind to %s (%s), exiting", srv.Addr, err) + return fmt.Errorf("lego-certhub-client https server cannot bind to %s (%s), exiting", srv.Addr, err) } // start server @@ -45,7 +45,7 @@ func (app *app) startHttpsServer() error { err := srv.ServeTLS(ln, "", "") if err != nil && !errors.Is(err, http.ErrServerClosed) { - app.logger.Errorf("lego-certhub-client server returned error (%s)", err) + app.logger.Errorf("lego-certhub-client https server returned error (%s)", err) } app.logger.Info("https server shutdown complete")