Closed moises-silva closed 7 years ago
Closes #30
@moises-silva @cwjohnston I would love to see log lines like https://github.com/sensu/sensu/blob/master/lib/sensu/daemon.rb#L256, using "transport connection error" as the message, then use :error
or :reason
as context keys.
Otherwise these log events lack context.
@portertech so far this lib hasn't pulled in sensu-logger for testing, using Ruby's built-in Logger
class instead. It seems like Logger
doesn't accept the same data
hash argument Sensu::Logger uses for providing additional context. Should we change the tests to bring in Sensu::Logger?
@cwjohnston yes, let's pull it in without a version constraint.
Fantastic!
@portertech disregarding the one failure here, i think this is good to merge.
I believe the single failed platform in question relates to my accidentally pushing (and subsequently deleting) the branch of same name on this repo. I had meant to push to sangoma/sensu-transport fork to update this pull request, and I guess travis decided they would be the same PR? 🤔
@cwjohnston ok, going to merge this, we can address the build failures if they continue on jruby.
This should fix issue #30