add space before adding pid to logline

This commit is contained in:
MrZYX 2011-05-08 14:01:03 +02:00
parent 3b7dd1906f
commit 3e3b8e07b2

View file

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