Skip to content

Commit

Permalink
Don't puts on every successful event sent to Loggly
Browse files Browse the repository at this point in the history
Fixes #26
  • Loading branch information
Mathieu Martin committed May 9, 2018
1 parent d7f693d commit 0500802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/outputs/loggly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def send_event(url, message)

# HTTP_SUCCESS :Code 2xx
when HTTP_SUCCESS
puts "Event sent to Loggly"
@logger.debug("Event sent to Loggly")

# HTTP_FORBIDDEN :Code 403
when HTTP_FORBIDDEN
Expand Down

0 comments on commit 0500802

Please sign in to comment.