|
@@ -1,12 +1,13 @@
|
|
# log conf
|
|
# log conf
|
|
import logging
|
|
import logging
|
|
|
|
+import aliyun
|
|
import os
|
|
import os
|
|
import time
|
|
import time
|
|
from config import set_config
|
|
from config import set_config
|
|
config_ = 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):
|
|
if not os.path.exists(log_path):
|
|
os.makedirs(log_path)
|
|
os.makedirs(log_path)
|
|
# 文件的命名
|
|
# 文件的命名
|