chanjunkai %!s(int64=5) %!d(string=hai) anos
pai
achega
38b41d2f81
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: