Skip to content

Commit

Permalink
remove loggers for client
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashhas committed Oct 29, 2024
1 parent cfa0637 commit 04f2651
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions config/initializers/redis.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Initialize Redis connection
$redis = Redis.new(url: ENV['REDIS_URL'], ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })
Rails.logger.info("Redis initializer is being loaded")

# Log Redis connection details
Rails.logger.info("REDIS_URL: #{ENV['REDIS_URL']}")

Rails.logger.info("SSL Params: #{$redis.client.options[:ssl_params]}")
Rails.logger.info("Redis initializer is being loaded")

0 comments on commit 04f2651

Please sign in to comment.