papertrail

master
Thomas Riboulet 9 years ago
parent c4c327bbd1
commit 73a37aec91

@ -1,3 +1,5 @@
RACK_ENV=production
PORT=80
REDIS_URL=redis://dev1.fsquic.0001.euw1.cache.amazonaws.com:6379/1
#REDIS_URL=redis://localhost:6379/1
PAPERTRAIL_PORT=16261

@ -5,6 +5,7 @@ require './workers/test_job'
Sidekiq.configure_server do |config|
config.redis = { url: ENV['REDIS_URL'] || 'redis://localhost:6379/1' }
Sidekiq::Logging.logger = RemoteSyslogLogger.new('logs2.papertrailapp.com', ENV.fetch('PAPERTRAIL_PORT'), program: "sidekiq-log")
end
class MyRedis

Loading…
Cancel
Save