liqian hace 3 años
padre
commit
d8ee3d4860
Se han modificado 2 ficheros con 7 adiciones y 6 borrados
  1. 2 1
      log_conf.py
  2. 5 5
      requirements.txt

+ 2 - 1
log_conf.py

@@ -1,12 +1,13 @@
 # log conf
 import logging
+import aliyun
 import os
 import time
 from config import set_config
 config_ = set_config()
 
 # 本地日志存储路径
-log_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")
+log_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")
 if not os.path.exists(log_path):
     os.makedirs(log_path)
 # 文件的命名

+ 5 - 5
requirements.txt

@@ -1,9 +1,9 @@
-numpy==1.19.2
-requests==2.24.0
-PyMySQL==1.0.2
-apache_skywalking==0.7.0
 Flask==1.1.2
-gevent==20.9.0
 redis==3.5.3
+numpy==1.19.2
+PyMySQL==1.0.2
+requests==2.24.0
 psycopg2_binary==2.9.1
+gevent==20.9.0
+aliyun_python_sdk==2.2.0
 psycopg2==2.9.3