What to do with message "Too much records, Only 10000 records to show from the end of the logs."?

Лили Эванс shared this question 27 days ago
Answered

I executed script that gave 20 000 results. Unfortunately I can see only last 10 000, because here is the message "Too much records, Only 10000 records to show from the end of the logs."

What should I do? Is it possible to increase the number of records in log or to export full log into a file?

Comments (1)

photo
1

Displaying too many lines can result in poor UI performance for the editor. You can add the following code to the file header to write the output to the file

console.log = function(...d) { //
    require("fs").appendFileSync("mylog.txt",    require("util").format(...d) + '\n')
};