New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved the logger methods in activeresource/test/abstract_unit.rb #4303
Conversation
@Karunakar can you change all the logger lines on Rails and make them use AS::Logger please? |
@spastorino I have changed in all the files. |
@@ -786,7 +786,7 @@ def setup | |||
@cache = ActiveSupport::Cache.lookup_store(:memory_store) | |||
|
|||
@buffer = StringIO.new | |||
@cache.logger = Logger.new(@buffer) | |||
@cache.logger =ActiveSupport::Logger.new(@buffer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a space here :)
And squash all the commits in one please. Thanks for the work! |
Thanks done. Seems that we can get rid of the ./lib/active_support/buffered_logger.rb. Deleting this in next commit. |
@@ -206,7 +206,7 @@ A short rundown of some of the major features: | |||
|
|||
You specify a logger through a class method, such as: | |||
|
|||
ActionController::Base.logger = Logger.new("Application Log") | |||
ActionController::Base.logger = AcitveSupport::Logger.new("Application Log") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo here ;)
@jonasschneider & @spastorino Its my bad,Thanks. can we get rid of ./lib/active_support/buffered_logger.rb and related stuff |
Moved the logger methods in activeresource/test/abstract_unit.rb
Moved the logger methods to active support logger methods in activeresource/test/abstract_unit.rb