class Puma::Launcher

def log_thread_status

def log_thread_status
  Thread.list.each do |thread|
    log "Thread TID-#{thread.object_id.to_s(36)} #{thread['label']}"
    logstr = "Thread: TID-#{thread.object_id.to_s(36)}"
    logstr += " #{thread.name}" if thread.respond_to?(:name)
    log logstr
    if thread.backtrace
      log thread.backtrace.join("\n")
    else
      log "<no backtrace available>"
    end
  end
end