update_logger (Merb::BootLoader::Dependencies)

    # File lib/merb-core/bootloader.rb, line 430
      def self.update_logger
        Merb.reset_logger!

        # If log file is given, use it and not log stream we have.
        if Merb::Config[:log_file]
          raise "log file should be a string, got: #{Merb::Config[:log_file].inspect}" unless Merb::Config[:log_file].is_a?(String)
          STDOUT.puts "Logging to file at #{Merb::Config[:log_file]}" unless Merb.testing?
          Merb::Config[:log_stream] = File.open(Merb::Config[:log_file], "a")
        # but if it's not given, fallback to log stream or stdout
        else
          Merb::Config[:log_stream] ||= STDOUT
        end

        nil
      end