Commit 7bdc5007 authored by Éloïs's avatar Éloïs
Browse files

[fix] log file name change

parent 40b68863
......@@ -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({
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment