<commit_before>if node[:web_apache][:config_subdir].nil?
  if File.exists?('/etc/httpd')
    config_subdir='httpd'
  elsif File.exists?('/etc/apache2')
    config_subdir='apache2'
  end
else
  config_subdir=node[:web_apache][:config_subdir]
end<commit_msg>adding log files<commit_after>if node[:web_apache][:config_subdir].nil?
  Chef::Log.info "web_apache config_subdir nil, setting by file"
  if File.exists?('/etc/httpd')
    Chef::Log.info "/etc/httpd found"
    config_subdir='httpd'
  elsif File.exists?('/etc/apache2')
    Chef::Log.info "/etc/apache2 found"
    config_subdir='apache2'
  end
else
  Chef::Log.info "web_apache config_subdir found, setting to: #{node[:web_apache][:config_subdir]}"
  config_subdir=node[:web_apache][:config_subdir]
end
{'fraction_non_alphanumeric': 0.15303430079155672, 'fraction_numerical': 0.006596306068601583, 'mean_word_length': 5.837837837837838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3625063', 'n_tokens_mistral': 282, 'n_tokens_neox': 281, 'n_words': 45}