Skip to content

Commit

Permalink
Tweak logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed May 9, 2012
1 parent 677cddf commit 315a1f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Procfile
@@ -1,3 +1,3 @@
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
worker: bundle exec rake jobs:work
clock: bundle exec clockwork clock.rb
#worker: bundle exec rake jobs:work
#clock: bundle exec clockwork clock.rb
2 changes: 1 addition & 1 deletion config/initializers/wordnik.rb
@@ -1,5 +1,5 @@
Wordnik.configure do |config|
config.api_key = ENV['WORDNIK_API_KEY']
config.response_format = 'json'
config.logger = Logger.new(STDOUT)
config.logger = Rails.logger
end
2 changes: 1 addition & 1 deletion lib/event_logging.rb
Expand Up @@ -23,7 +23,7 @@ def caller_method(depth=1)
end

def event_logger
ActiveRecord::Base.logger
Rails.logger
end

# Stolen from ActionMailer, where this was used but was not made reusable
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/ptls.rake
Expand Up @@ -10,7 +10,7 @@ namespace :ptls do

desc "Load words from external sources"
task :load => :environment do
puts "Enqueuing WordnikWODLoader.load!"
# puts "Enqueuing WordnikWODLoader.load!"
# $queue.enqueue("WordnikWODLoader.load!")
WordnikWODLoader.load!(Date.today)
end
Expand Down

0 comments on commit 315a1f8

Please sign in to comment.