Skip to content
Browse files

added hostname and pid to hobson resque worker procline

  • Loading branch information...
1 parent 9c25507 commit 27aae0a58e4d3884d59225730f6c1efe17e63277 Jared Grippe committed with Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hobson/worker.rb
View
2 lib/hobson/worker.rb
@@ -24,7 +24,7 @@ def work
end
def procline(string)
- $0 = "hobson-#{Hobson::VERSION}: #{string}"
+ $0 = "Hobson #{hostname}:#{Process.pid} - #{string}"
log! $0
end

0 comments on commit 27aae0a

Please sign in to comment.
Something went wrong with that request. Please try again.