소스 검색

日志查询bug

hl 10 달 전
부모
커밋
f79ac9fbb9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web.js

+ 1 - 1
src/web.js

@@ -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) => {