logstasher icon indicating copy to clipboard operation
logstasher copied to clipboard

Custom store data from ActiveSupport::Notifications not saving in release 0.7.1

Open davidbasalla opened this issue 9 years ago • 0 comments

Hello, upgrading from 0.7.0 to 0.7.1 breaks the ActiveSupport::Notifications watch behaviour for me.

From the docs:

# Watch calls the block with the same arguments than any ActiveSupport::Notification, plus a store
LogStasher.watch('some.activesupport.notification') do |name, start, finish, id, payload, store|
  # Do something
  store[:count] = 42
end

After the 0.7.1 upgrade, the custom store key/value pair does not get output in the final output log. This is working fine in 0.7.0.

Comparison: https://github.com/shadabahmed/logstasher/compare/6506a39f6bb71662f954af3f59d36da2f21cc7ec...8206937595a5a61d1e3ab697a60e777abfdd9e7e?diff=split&name=8206937595a5a61d1e3ab697a60e777abfdd9e7e

davidbasalla avatar Nov 19 '15 14:11 davidbasalla