chanjunkai 5 lat temu
rodzic
commit
38b41d2f81
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      controller/index.py

+ 2 - 0
controller/index.py

@@ -256,6 +256,8 @@ class oa2RtspStartView(TemplateView):
             print(UID)
             print(PWD)
             print(MSG)
+            logger = logging.getLogger('django')
+            logger.info(MSG)
             if int(st) == 1:
                 send_flag = self.runSendStop(UID, PWD, MSG)
                 if send_flag: