浏览代码

添加log

lang 3 年之前
父节点
当前提交
a47ec99a50
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -927,7 +927,7 @@ class CloudStorageView(View):
 
 
     def do_pay_by_wechat_callback(self, request, response):  # 微信支付回调
     def do_pay_by_wechat_callback(self, request, response):  # 微信支付回调
 
 
-        logger = logging.getLogger('log')
+        logger = logging.getLogger('info')
         try:
         try:
             pay = WechatPayObject()
             pay = WechatPayObject()
             data = pay.weixinpay_call_back(request.body)
             data = pay.weixinpay_call_back(request.body)