locky 4 년 전
부모
커밋
b8b126b78a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/AlexaController.py

+ 1 - 1
Controller/AlexaController.py

@@ -26,7 +26,7 @@ class PushCommandView(View):
         if not command:
             return HttpResponse(444)
         try:
-            djangoLogger = logging.getLogger('django')
+            djangoLogger = logging.getLogger('info')
             djangoLogger.info('开始调用')
             back = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE). \
                                     communicate(timeout=2)