@@ -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)