Method: SolidQueue::LogSubscriber#start_process

Defined in:
lib/solid_queue/log_subscriber.rb

#start_process(event) ⇒ Object



64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/solid_queue/log_subscriber.rb', line 64

def start_process(event)
  process = event.payload[:process]

  attributes = {
    pid: process.pid,
    hostname: process.hostname,
    process_id: process.process_id,
    name: process.name
  }.merge(process.)

  info formatted_event(event, action: "Started #{process.kind}", **attributes)
end