Skip to content

Commit

Permalink
added hostname and pid to hobson resque worker procline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Grippe authored and jaredatron committed Jan 20, 2012
1 parent 9c25507 commit 27aae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hobson/worker.rb
Expand Up @@ -24,7 +24,7 @@ def work
end

def procline(string)
$0 = "hobson-#{Hobson::VERSION}: #{string}"
$0 = "Hobson #{hostname}:#{Process.pid} - #{string}"
log! $0
end

Expand Down

0 comments on commit 27aae0a

Please sign in to comment.