Skip to content

Commit

Permalink
remove the disable logging middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Somerville committed Dec 17, 2012
1 parent 5ac6f60 commit 847dba1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion lib/better_errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
require "better_errors/error_page"
require "better_errors/stack_frame"
require "better_errors/middleware"
require "better_errors/disable_logging_middleware"
require "better_errors/code_formatter"
require "better_errors/repl"

Expand Down
16 changes: 0 additions & 16 deletions lib/better_errors/disable_logging_middleware.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/better_errors/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Railtie < Rails::Railtie
initializer "better_errors.configure_rails_initialization" do
unless Rails.env.production?
Rails.application.middleware.use BetterErrors::Middleware
Rails.application.middleware.insert_before Rails::Rack::Logger, BetterErrors::DisableLoggingMiddleware
BetterErrors.logger = Rails.logger
BetterErrors.application_root = Rails.root.to_s
end
Expand Down

0 comments on commit 847dba1

Please sign in to comment.