Skip to content

Commit 09b23fa

Browse files
author
Michael Mantos
committed
INV-1618 - Fix logger for older versions
1 parent ceb6971 commit 09b23fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/stackify/engine.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ def set_console_logs new_logger
5252
end
5353
else
5454
# Handle the stdout logs from Action Controller
55-
ActionController::Base.logger = logger
55+
ActionController::Base.logger = new_logger
5656

5757
# Handle the stdout logs from Action View
58-
ActionView::Base.logger = logger
58+
ActionView::Base.logger = new_logger
5959

6060
# Handle the stdout logs from Active Record
61-
ActiveRecord::Base.logger = logger
61+
ActiveRecord::Base.logger = new_logger
6262
end
6363
end
6464
end

0 commit comments

Comments
 (0)