Fix splunk logging in 1.9

This commit is contained in:
Sarah Mei 2011-04-29 20:57:25 -07:00
parent ae3deb1f32
commit 84ca9dfed6

View file

@ -5,7 +5,7 @@ module SplunkLogging
end
end
def add_with_splunk(arg1, log_hash = nil, arg3 = nil, &block)
string = format_hash(log_hash)
string = format_hash(log_hash).dup
string << "pid=#{Process.pid} "
add_without_splunk(arg1, string, arg3, &block)
end