lib/sapience/rails.rb in sapience-0.2.10 vs lib/sapience/rails.rb in sapience-0.2.11
- old
+ new
@@ -33,9 +33,12 @@
Resque.logger = Sapience[Resque] if defined?(Resque) && Resque.respond_to?(:logger)
# Replace the Sidekiq logger
Sidekiq::Logging.logger = Sapience[Sidekiq] if defined?(Sidekiq)
+ # Replace the Sequel logger
+ Sequel::Database.logger = Sapience[Sequel] if defined?(Sequel::Database)
+
# Replace the Sidetiq logger
Sidetiq.logger = Sapience[Sidetiq] if defined?(Sidetiq)
# Replace the Raven logger
# Raven::Configuration.logger = Sapience[Raven::Configuration] if defined?(Raven::Configuration)