From 27aae0a58e4d3884d59225730f6c1efe17e63277 Mon Sep 17 00:00:00 2001 From: Jared Grippe Date: Thu, 19 Jan 2012 16:59:17 -0800 Subject: [PATCH] added hostname and pid to hobson resque worker procline --- lib/hobson/worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hobson/worker.rb b/lib/hobson/worker.rb index a615689..ebc4e86 100644 --- a/lib/hobson/worker.rb +++ b/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