lib/fluent/plugin/out_sentry.rb in ach-fluent-plugin-sentry-0.0.12 vs lib/fluent/plugin/out_sentry.rb in ach-fluent-plugin-sentry-0.0.13

- old
+ new

@@ -65,12 +65,13 @@ end end def notify_sentry(tag, time, record) #$log.warning("Message: ",:error => record['message']) + $log.debug 'writing data', record.to_json event = Sentry::Event.new( :configuration => @configuration, - :message => record.to_json + :message => record['log'] ) event.timestamp = record['timestamp'] || Time.at(time).utc.strftime('%Y-%m-%dT%H:%M:%S') event.level = record['level'] || @default_level #event.logger = record['logger'] || @default_logger #event.culprit = record['culprit'] || nil