Quote:
Originally Posted by mgpai
You can use existing methods to extract matching strings from the log file.
Code:
var match = readFile(getPath(path_to_correct_log_file)).match(/Archive Path\: (.+)/);
if (match) {
var archivePath = match[1];
alert(archivePath);
}
|
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.