config/environment.rb in instiki-0.10.1 vs config/environment.rb in instiki-0.10.2
- old
+ new
@@ -60,10 +60,10 @@
# Configure defaults if the included environment did not.
unless defined? RAILS_DEFAULT_LOGGER
RAILS_DEFAULT_LOGGER = Logger.new(STDERR)
ActionController::Base.logger ||= RAILS_DEFAULT_LOGGER
- if defined? INSTIKI_DEBUG_LOG and INSTIKI_DEBUG_LOG
+ if $instiki_debug_logging
RAILS_DEFAULT_LOGGER.level = Logger::DEBUG
ActionController::Base.logger.level = Logger::DEBUG
else
RAILS_DEFAULT_LOGGER.level = Logger::INFO
ActionController::Base.logger.level = Logger::INFO