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

do you have any suggestions? mr @Fox
на форуме есть в топике Лайфхаки , там посмотрите
@Roy-Mustang add link please ?