From aab94676bbef7327b76ac35743073208c1ca79e1 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Wed, 13 May 2015 09:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8lib=E9=87=8C=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=A8logger,=E8=A6=81=E7=94=A8Rails.logge?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/trustie/utils/image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trustie/utils/image.rb b/lib/trustie/utils/image.rb index 849c155ee..9178b291a 100644 --- a/lib/trustie/utils/image.rb +++ b/lib/trustie/utils/image.rb @@ -22,7 +22,7 @@ module Trustie end end rescue Exception => e - logger.error "[Error] compress : ===> #{e}" + Rails.logger.error "[Error] compress : ===> #{e}" end end