lib/logstasher/active_support/log_subscriber.rb in logstasher-0.8.6 vs lib/logstasher/active_support/log_subscriber.rb in logstasher-0.9.0

- old
+ new

@@ -96,10 +96,9 @@ end end def extract_custom_fields(payload) custom_fields = (!LogStasher.custom_fields.empty? && payload.extract!(*LogStasher.custom_fields)) || {} - LogStasher.custom_fields.clear custom_fields end end end end