<commit_before>require 'cas_auth'
require 'cas_logger'
require 'cas_proxy_callback_controller'

#CAS::Filter.logger = RAILS_DEFAULT_LOGGER if !RAILS_DEFAULT_LOGGER.nil?
#CAS::Filter.logger = config.logger if !config.logger.nil?

CAS::Filter.logger = CAS::Logger.new("#{RAILS_ROOT}/log/cas_client_#{RAILS_ENV}.log", 1024000)
CAS::Filter.logger.formatter = CAS::Logger::Formatter.new

#if RAILS_ENV == "production"
#  CAS::Filter.logger.level = Logger::WARN
#else
  CAS::Filter.logger.level = Logger::DEBUG
#end


#class ActionController::Base
#  append_before_filter CAS::Filter
#end<commit_msg>removed log rotation via Logger because it was causing problems under multi-instance clustered mongrel deployment<commit_after>require 'cas_auth'
require 'cas_logger'
require 'cas_proxy_callback_controller'

#CAS::Filter.logger = RAILS_DEFAULT_LOGGER if !RAILS_DEFAULT_LOGGER.nil?
#CAS::Filter.logger = config.logger if !config.logger.nil?

CAS::Filter.logger = CAS::Logger.new("#{RAILS_ROOT}/log/cas_client_#{RAILS_ENV}.log")
CAS::Filter.logger.formatter = CAS::Logger::Formatter.new

#if RAILS_ENV == "production"
#  CAS::Filter.logger.level = Logger::WARN
#else
#  CAS::Filter.logger.level = Logger::DEBUG
#end


#class ActionController::Base
#  append_before_filter CAS::Filter
#end
{'fraction_non_alphanumeric': 0.13671875, 'fraction_numerical': 0.00546875, 'mean_word_length': 7.483443708609271, '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': '4237215', 'n_tokens_mistral': 454, 'n_tokens_neox': 430, 'n_words': 78}