diff --git a/app/lib/dal/fileDAL.ts b/app/lib/dal/fileDAL.ts index 7929b72b4acfe25bbb1cfdd201debc08f61f123c..4207f81fc1748bc9f52d522409d503d036df2029 100644 --- a/app/lib/dal/fileDAL.ts +++ b/app/lib/dal/fileDAL.ts @@ -1553,7 +1553,7 @@ export class FileDAL implements ServerDAO { try { let lines: string[] = [], i = 0; - const logPath = path.join(this.rootPath, "duniter.log"); + const logPath = path.join(this.rootPath, "exe_duniter_rCURRENT.log"); const readStream = fs.createReadStream(logPath); readStream.on("error", (err: any) => reject(err)); const lineReader = readline.createInterface({ diff --git a/app/lib/system/directory.ts b/app/lib/system/directory.ts index 436bd0f60028617eb1ad0c4e92b946c63c691efb..de4bae05d8ad0752b404f94eceff3cd72853a085 100644 --- a/app/lib/system/directory.ts +++ b/app/lib/system/directory.ts @@ -31,7 +31,7 @@ const DEFAULT_HOME = const getLogsPath = ( profile: string | undefined, directory: string | null = null -) => path.join(getHomePath(profile, directory), "duniter.log"); +) => path.join(getHomePath(profile, directory), "node_duniter_rCURRENT.log"); const getHomePath = ( profile: string | null | undefined,