<commit_before>require 'adhearsion'
require 'adhearsion-ivr'

RSpec.configure do |config|
  config.color_enabled = true
  config.tty = true

  config.mock_with :rspec
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.backtrace_clean_patterns = [/rspec/]

  config.before do
    Punchblock.stub new_request_id: 'foo'
  end
end<commit_msg>Turn on logging in specs<commit_after>require 'adhearsion'
require 'adhearsion-ivr'

RSpec.configure do |config|
  config.color_enabled = true
  config.tty = true

  config.mock_with :rspec
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.backtrace_clean_patterns = [/rspec/]

  config.before do
    Punchblock.stub new_request_id: 'foo'

    Adhearsion::Logging.start Adhearsion::Logging.default_appenders, :trace, Adhearsion.config.platform.logging.formatter
  end
end
{'fraction_non_alphanumeric': 0.09040178571428571, 'fraction_numerical': 0.0, 'mean_word_length': 4.824675324675325, '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': '4290870', 'n_tokens_mistral': 323, 'n_tokens_neox': 311, 'n_words': 61}