gray_logger 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/gray_logger/middleware.rb +0 -3
  2. metadata +3 -3
@@ -10,12 +10,10 @@ module GrayLogger
10
10
  configuration = symbolize_keys(options.delete(:configuration))
11
11
  self.gray_logger = if configuration && configuration[:host] && configuration[:port]
12
12
  size = ENV['GRAYLOGGER_SIZE'] || configuration.delete(:size) || "WAN"
13
- puts configuration
14
13
  GELF::Logger.new(configuration.delete(:host), configuration.delete(:port), size, configuration)
15
14
  else
16
15
  options.delete(:logger)
17
16
  end
18
- puts self.gray_logger
19
17
  end
20
18
 
21
19
  def call(env)
@@ -28,7 +26,6 @@ module GrayLogger
28
26
  raise e
29
27
  ensure
30
28
  message_store.status_code = status.to_i
31
- puts message_store.to_message.to_hash.inspect
32
29
  gray_logger.notify!(message_store.to_message) unless gray_logger.nil?
33
30
  end
34
31
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gray_logger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 2
10
- version: 0.9.2
9
+ - 3
10
+ version: 0.9.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Behr