diff options
author | Francis Lavoie <[email protected]> | 2024-05-20 15:14:39 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-20 13:14:39 -0600 |
commit | 224316eaecd6bffd38719e1e03e09f8fe51649e7 (patch) | |
tree | 5fa330ac5f75b246bc1baa02cd47f22f0e0be416 /modules | |
parent | 5f6758dab5fc02f74233a92c53ba3b654e476dc0 (diff) | |
download | caddy-224316eaecd6bffd38719e1e03e09f8fe51649e7.tar.gz caddy-224316eaecd6bffd38719e1e03e09f8fe51649e7.zip |
autohttps: Move log WARN to INFO, reduce confusion (#6185)v2.8.0-rc.1
* autohttps: Move log WARN to INFO, reduce confusion
* Change implicit condition back to WARN
---------
Co-authored-by: Matthew Holt <[email protected]>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/caddyhttp/autohttps.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/autohttps.go b/modules/caddyhttp/autohttps.go index 54a2d9ccd..263cd14c7 100644 --- a/modules/caddyhttp/autohttps.go +++ b/modules/caddyhttp/autohttps.go @@ -117,7 +117,7 @@ func (app *App) automaticHTTPSPhase1(ctx caddy.Context, repl *caddy.Replacer) er srv.AutoHTTPS = new(AutoHTTPSConfig) } if srv.AutoHTTPS.Disabled { - logger.Warn("automatic HTTPS is completely disabled for server", zap.String("server_name", srvName)) + logger.Info("automatic HTTPS is completely disabled for server", zap.String("server_name", srvName)) continue } @@ -225,7 +225,7 @@ func (app *App) automaticHTTPSPhase1(ctx caddy.Context, repl *caddy.Replacer) er // nothing left to do if auto redirects are disabled if srv.AutoHTTPS.DisableRedir { - logger.Warn("automatic HTTP->HTTPS redirects are disabled", zap.String("server_name", srvName)) + logger.Info("automatic HTTP->HTTPS redirects are disabled", zap.String("server_name", srvName)) continue } |