caddyserver / caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
https://caddyserver.com
Apache License 2.0
55.45k stars 3.91k forks source link

reverseproxy: Only log host is up status on change #6419

Open klaxa opened 1 week ago

klaxa commented 1 week ago

Fixes #6415

This changes the behavior of logging to only log the host up-state on state changes.

I manually tested it in the setup I needed it in and I noticed that if the upstream is available immediately the line is not logged. That leads me to believe that the event is also not emitted? I am again unsure if this is the intended behavior.

Thanks!

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.