View Single Post
Old 27.07.2020, 10:26
sherbee sherbee is offline
JD Fan
Join Date: Mar 2019
Posts: 76

Originally Posted by mgpai View Post
You can use existing methods to extract matching strings from the log file.

var match = readFile(getPath(path_to_correct_log_file)).match(/Archive Path\: (.+)/);

if (match) {
    var archivePath = match[1];
I try thanks. But you have idea how to get correct path to log file and name? I see no method for it. And not written in any logs to extract? Take last log by date i think not reliable.
Reply With Quote