lib/logstasher/action_view/log_subscriber.rb in logstasher-0.8.6 vs lib/logstasher/action_view/log_subscriber.rb in logstasher-0.9.0
- old
+ new
@@ -60,10 +60,9 @@
end
def extract_custom_fields(data)
custom_fields = (!LogStasher.custom_fields.empty? && data.extract!(*LogStasher.custom_fields)) || {}
- LogStasher.custom_fields.clear
custom_fields
end
end
end
end