<commit_before>require "rubygems"
require "rack"
Dir.glob("lib/**/*.rb").each { |x| $:.unshift(File.dirname(x)) }
require 'bootstrap_container'
require 'bootstrap_routing'
require 'log'

module Booty
  class Application
    def self.run
      Log.bind_to(ConsoleLogFactory.new)
      BootstrapContainer.new.run
      BootstrapRouting.new.run
      Rack::Handler::Mongrel.run IOC.resolve(:front_controller), :Port => 9292
    end
  end
end

Booty::Application.run<commit_msg>add logging to indicate what port the server is connecting to.<commit_after>require "rubygems"
require "rack"
Dir.glob("lib/**/*.rb").each { |x| $:.unshift(File.dirname(x)) }
require 'bootstrap_container'
require 'bootstrap_routing'
require 'log'

module Booty
  class Application
    def self.run
      Log.bind_to(ConsoleLogFactory.new)
      BootstrapContainer.new.run
      BootstrapRouting.new.run
      logger.debug("starting up http://localhost:9292")
      Rack::Handler::Mongrel.run IOC.resolve(:front_controller), :Port => 9292
    end
  end
end

Booty::Application.run
{'fraction_non_alphanumeric': 0.12725546058879392, 'fraction_numerical': 0.011396011396011397, 'mean_word_length': 4.3232323232323235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2031259', 'n_tokens_mistral': 349, 'n_tokens_neox': 339, 'n_words': 72}