From fb7233777f19c887bc023fd49597119ca3747dfc Mon Sep 17 00:00:00 2001 From: Alec Zhou Date: Fri, 26 Apr 2019 18:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E7=B1=BB?= =?UTF-8?q?=E5=9E=8Bdebug->info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/application_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 839a8a4f..a143b03e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1152,9 +1152,9 @@ class ApplicationController < ActionController::Base def user_login_and_from_openi url = request.referer.nil? ? Redmine::Configuration['educoder_domain'] : request.referer flag = URI(url).host == 'localhost' && !current_user.logged? - logger.debug "----------------------- #{url} -------------------------" - logger.debug "----------------------- #{URI(url).host} --------------------------" - logger.debug "----------------------- #{flag} -------------------------" + logger.info "----------------------- #{url} -------------------------" + logger.info "----------------------- #{URI(url).host} --------------------------" + logger.info "----------------------- #{flag} -------------------------" flag end end