mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Cleanup output further, visual changes
This commit is contained in:
parent
7188ec8571
commit
ee3341d670
2 changed files with 13 additions and 6 deletions
|
@ -329,7 +329,8 @@ module Puma
|
|||
|
||||
output_header "cluster"
|
||||
|
||||
log "* Process workers: #{@options[:workers]}"
|
||||
# This is aligned with the output from Runner, see Runner#output_header
|
||||
log "* Workers: #{@options[:workers]}"
|
||||
|
||||
# Threads explicitly marked as fork safe will be ignored.
|
||||
# Used in Rails, but may be used by anyone.
|
||||
|
|
|
@ -85,11 +85,17 @@ module Puma
|
|||
min_t = @options[:min_threads]
|
||||
max_t = @options[:max_threads]
|
||||
|
||||
log "Puma starting in #{mode} mode...\n" \
|
||||
"* Version #{Puma::Const::PUMA_VERSION} (#{ruby_engine}), codename: #{Puma::Const::CODE_NAME}\n" \
|
||||
"* Min threads: #{min_t}, max threads: #{max_t}\n" \
|
||||
"* Environment: #{ENV['RACK_ENV']}\n" \
|
||||
"* Pid: #{Process.pid}"
|
||||
log "Puma starting in #{mode} mode..."
|
||||
log "* Puma version: #{Puma::Const::PUMA_VERSION} (#{ruby_engine}) (\"#{Puma::Const::CODE_NAME}\")"
|
||||
log "* Min threads: #{min_t}"
|
||||
log "* Max threads: #{max_t}"
|
||||
log "* Environment: #{ENV['RACK_ENV']}"
|
||||
|
||||
if mode == "cluster"
|
||||
log "* Master PID: #{Process.pid}"
|
||||
else
|
||||
log "* PID: #{Process.pid}"
|
||||
end
|
||||
end
|
||||
|
||||
def redirected_io?
|
||||
|
|
Loading…
Add table
Reference in a new issue