lib/tochtli.rb in tochtli-0.5.0 vs lib/tochtli.rb in tochtli-0.5.1
- old
+ new
@@ -67,12 +67,12 @@
unless @logger
if defined?(Rails)
@logger = Logger.new(File.join(Rails.root, 'log/service.log'))
@logger.level = Rails.env.production? ? Logger::WARN : Logger::DEBUG
else
- @logger = Logger.new(STDERR)
- @logger.level = Logger::WARN
- end
+ @logger = Logger.new(STDERR)
+ @logger.level = Logger::WARN
+ end
end
@logger
end
def cache