Permalink
Browse files

Stop logging the UDP information

  • Loading branch information...
1 parent 7b71f3d commit e6dcb4d5ac2988628be8d6e7ab67800466ef999d @hcatlin committed Jun 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/udp_logger.rb
View
@@ -24,7 +24,7 @@ def call(env)
timestamp = start.getutc.iso8601(2)[0..-2]
datagram = "#{@hostname} #{request_count} #{timestamp} #{took} #{req.ip} TCP_MISS/#{status} #{body.size + headers.size} #{req.request_method.upcase} #{req.url} NONE/- #{content_type} #{env['HTTP_REFERRER'] || '-'} #{env['X-Forwarded-For'] || '-'} #{URI::encode(env['HTTP_USER_AGENT'] || '')}\n"
- Merb.logger.warn datagram.force_encoding("UTF-8")
+ #Merb.logger.warn datagram.force_encoding("UTF-8")
@sock.send(datagram, 0, "208.80.152.138", 8420)
rescue Dalli::NetworkError

0 comments on commit e6dcb4d

Please sign in to comment.