From 0f20c7562d2a8c5fae04a61b20e922eaeb17aa8d Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Thu, 30 May 2019 12:15:57 +0800 Subject: [PATCH] add logger --- app/services/games_service.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/games_service.rb b/app/services/games_service.rb index b65cb7e7..630d0848 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -88,7 +88,9 @@ class GamesService raise("实训云平台繁忙(繁忙等级:99)") end url = service_host +":#{res['port']}/vnc_lite.html" + Rails.logger.info("66666666sssssss#{url}") container = container.merge(:vnc_url => url, :test => "666") + Rails.logger.info("777777666sssssss#{container}") rescue Exception => e Rails.logger.error(e.message) end