Skip to content

Commit

Permalink
Use ActiveSupport::BroadcastLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Dec 9, 2024
1 parent f8aac41 commit 164cb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hyrax/controlled_vocabulary/importer/language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize
stdout_logger.formatter = proc do |_severity, _datetime, _progname, msg|
"#{msg}\n"
end
Hyrax.logger.extend(ActiveSupport::Logger.broadcast(stdout_logger))
ActiveSupport::BroadcastLogger.new(Hyrax.logger, stdout_logger)
end

def import
Expand Down

0 comments on commit 164cb9f

Please sign in to comment.