init.rb in rubycas-client-0.11.0 vs init.rb in rubycas-client-0.12.0
- old
+ new
@@ -3,16 +3,16 @@
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 = 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
+# CAS::Filter.logger.level = Logger::DEBUG
#end
#class ActionController::Base
# append_before_filter CAS::Filter
\ No newline at end of file