mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Merge pull request #43 from nickethier/master
Quick fix for AMQP output (LOGSTASH-151)
This commit is contained in:
commit
3a160f5add
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
|
|||
|
||||
public
|
||||
def receive(event)
|
||||
key = event.sprintf(@key)
|
||||
key = event.sprintf(@key) if @key
|
||||
@logger.debug(["Sending event", { :destination => to_s, :event => event, :key => key }])
|
||||
begin
|
||||
if @target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue