Skip to content
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

TEST: Add module assert_helper #17

Closed
wants to merge 15 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FIX: Ensure that Doubtfire logger does not rotate
Log rotation in production is done using logrotate, and should not
be done by the rails logger. This fix ensures that the Doubtfire
logger uses the default rotate settings that should write all
log messages to one file.
  • Loading branch information
macite authored and Reuben Wilson committed May 7, 2016
commit 4d24e326aed5af36a0536086cea18c8fb007a25a
2 changes: 1 addition & 1 deletion app/helpers/doubtfire_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DoubtfireLogger < ActiveSupport::Logger
#     is a number
#
# Rails.logger initialises these as nil, so we will do the same
@@logger = DoubtfireLogger.new(Doubtfire::Application.config.paths["log"].first, nil, nil)
@@logger = DoubtfireLogger.new(Doubtfire::Application.config.paths["log"].first)

#
# Singleton logger returned
Expand Down