Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
image.png
@Diya.3rif
This action return the number of thread
You need to edit num of thread there https://wiki.bablosoft.com/lib/exe/fetch.php?media=scriptpropertiesresult.png