Ver Fonte

调试打印信息

locky há 4 anos atrás
pai
commit
0c7a48da84
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      controller/index.py

+ 2 - 0
controller/index.py

@@ -321,6 +321,8 @@ class oa2RtspStartView(TemplateView):
         return True
 
     def reqSendRtspMsg(self, url):
+        logger = logging.getLogger('django')
+        logger.info('--------请求接口--------')
         requests.get(url=url)
 
     # 触发此方法,让摄像头推流到MSG流地址