Skip to content
Snippets Groups Projects
Commit 6133f767 authored by Éloïs's avatar Éloïs
Browse files

Merge branch 'fix/log-file-name' into dev

parents 40b68863 7bdc5007
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment