From f13d02cb74a08c76d467c593f5232ad7381432e5 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Mon, 30 Nov 2020 09:29:57 -0700 Subject: [PATCH] Capitalize PID in log output --- lib/puma/cluster.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puma/cluster.rb b/lib/puma/cluster.rb index b14889e3..595cb65e 100644 --- a/lib/puma/cluster.rb +++ b/lib/puma/cluster.rb @@ -114,7 +114,7 @@ module Puma debug "Workers to cull: #{workers_to_cull.inspect}" workers_to_cull.each do |worker| - log "- Worker #{worker.index} (pid: #{worker.pid}) terminating" + log "- Worker #{worker.index} (PID: #{worker.pid}) terminating" worker.term end end @@ -433,7 +433,7 @@ module Puma case req when "b" w.boot! - log "- Worker #{w.index} (pid: #{pid}) booted, phase: #{w.phase}" + log "- Worker #{w.index} (PID: #{pid}) booted, phase: #{w.phase}" @next_check = Time.now when "e" # external term, see worker method, Signal.trap "SIGTERM"