Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Remove the debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dazoakley committed Jan 27, 2015
1 parent 6393f43 commit bac91e8
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions lib/bandiera.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ def init(environment)
end

def logger
@logger ||= begin
logger = Macmillan::Utils::Logger::Factory.build_logger(:syslog, tag: 'bandiera')
logger.level = Logger::DEBUG
logger
end
@logger ||= Macmillan::Utils::Logger::Factory.build_logger(:syslog, tag: 'bandiera')
end
attr_writer :logger

Expand All @@ -52,13 +48,7 @@ def build_statsd_client

statsd = Statsd.new(ENV['STATSD_HOST'], ENV['STATSD_PORT'])
statsd.namespace = statsd_namespace
decd_statsd = Macmillan::Utils::StatsdDecorator.new(statsd, ENV['RACK_ENV'], logger)

logger.error(statsd.inspect)
logger.error(decd_statsd.inspect)
logger.error(ENV.inspect)

decd_statsd
Macmillan::Utils::StatsdDecorator.new(statsd, ENV['RACK_ENV'], logger)
end

def statsd_namespace
Expand Down

0 comments on commit bac91e8

Please sign in to comment.