diff --git a/app/util/health_server.rb b/app/util/health_server.rb index 0e8d4819..6ceaa043 100644 --- a/app/util/health_server.rb +++ b/app/util/health_server.rb @@ -87,9 +87,9 @@ def add(severity, message) case message when /\AWEBrick::HTTPServer#start:.*port=(\d+)/ - Postal.logger.info "started health server on port #{::Regexp.last_match(1)}", component: "true" + Postal.logger.info "started health server on port #{::Regexp.last_match(1)}", component: "health-server" when /\AWEBrick::HTTPServer#start done/ - Postal.logger.info "stopped health server" + Postal.logger.info "stopped health server", component: "health-server" when /\AWEBrick [\d.]+/, /\Aruby ([\d.]+)/, /\ARack::Handler::WEBrick is mounted/, @@ -98,7 +98,7 @@ def add(severity, message) # Don't actually print routine messages to avoid too much # clutter when processes start it else - Postal.logger.debug message, component: "true" + Postal.logger.debug message, component: "health-server" end end