Jelajahi Sumber

Merge branch 'lang' into dev

lang 4 tahun lalu
induk
melakukan
c7416ca2fc
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      Controller/DeviceDebug.py

+ 3 - 2
Controller/DeviceDebug.py

@@ -59,10 +59,11 @@ class DeviceDebug(View):
     def single_debug(self,request, request_dict, uid, response):
         ip = CommonService.get_ip_address(request)
         device_info = logging.getLogger('device_info')
+        device_info.info("debug----------------------------------------------------------------------------------start")
+        device_info.info("uid:"+uid)
         device_info.info(strftime("%Y-%m-%d %H:%M:%S"))
         device_info.info("ip:"+ip)
-        device_info.info("debug-----------------------start")
         device_info.info(request_dict.get('debug_log'))
-        device_info.info("debug-----------------------end")
+        device_info.info("debug------------------------------------------------------------------------------------end")
         return response.json(0,'debug success')
                 # return response.json(10, '生成失败')