|
@@ -95,7 +95,7 @@ function init() {
|
|
|
var logPath = "./logs" + port
|
|
|
// 将相对路径转换为绝对路径
|
|
|
const directoryPath = path.resolve(logPath);
|
|
|
- file.checkPathSync(directoryPath)
|
|
|
+ // file.checkPathSync(directoryPath)
|
|
|
|
|
|
logger.info(`日志相对地址:${logPath}`)
|
|
|
file.getLastFile(logPath, 10, (fileNameList) => {
|