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 11, 2024
1 parent 0a05e5c commit ef66ca8
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 ef66ca8

Please sign in to comment.