arturictus / sidekiq_alive

Liveness probe for Sidekiq in Kubernetes deployments
MIT License
189 stars 57 forks source link

Pass logger to web server #55

Closed bugthing closed 2 years ago

bugthing commented 3 years ago

Webrick starts up with a log message that goes to the default logger, which creates an unformatted message in the logs with my configuration. This PR passes the SidekiqAlive.logger to Webbrick, so at least the log messages appear in the same stream

I also change the host to be the #host and not a fixed string (unsure if this change an intended)

arturictus commented 2 years ago

Thanks for this PR :clap: . Releasing a new version with it included :partying_face: