|
@@ -186,7 +186,7 @@ class Log(object):
|
|
|
|
|
|
def getLogName(self):
|
|
def getLogName(self):
|
|
# log_path是存放日志的路径
|
|
# log_path是存放日志的路径
|
|
- lib_path = Path('/syjy/logs')
|
|
|
|
|
|
+ lib_path = Path('/usr/share/logs')
|
|
self.logger.info("日志输出路径为:{}".format(lib_path))
|
|
self.logger.info("日志输出路径为:{}".format(lib_path))
|
|
# 如果不存在这个logs文件夹,就自动创建一个
|
|
# 如果不存在这个logs文件夹,就自动创建一个
|
|
if not os.path.exists(lib_path):
|
|
if not os.path.exists(lib_path):
|