class ActiveSupport::Logger
def self.normalize_sources(sources)
def self.normalize_sources(sources) sources.map do |source| source = source.path if source.respond_to?(:path) source = File.realpath(source) if source.is_a?(String) && File.exist?(source) source end end