Scroll to the bottom of log files in web pages

We use supervisord on our systems, which has a handy browser based 'tail -f' feature. The problem is that the end of the log file appears off the bottom of the screen, and the browser won't scroll to the bottom automatically. This bookmarklet will keep the end of the page in view.

javascript:scroll=function(){setTimeout(function(){window.scrollTo(0,document.body.scrollHeight);scroll();},100);};scroll();

Comments

Gill said…
Great Article. Your writing skill is magnificent as ever
Jordan said…
It’s always useful to read content from other authors, Thanks
Jasiah said…
Its like you read my mind! This is magnificent blog. A great read
Reyna said…
Good work you show, Fantastic it is Good job
Kyla said…
Easily, the article is actually the best topic on this issue.
Shah said…
Thanks for the beautiful info you made. Great job. Thankyou
You have a very good gloss. Write more high-quality articles. I support you.
Very efficiently written information. For sure i will check out more posts. Thanks
Awesome article dude! This was an extremely nice post. A top notch article
Great article! Scrolling to the bottom of log files can be such a hassle without the right tools. Your solution for making this process easier is really practical and saves a lot of time. Thanks for sharing such a useful tip!

Digital Marketing Course In Hyderabad

Popular posts from this blog

MinHash for dummies

Authenticating via Kerberos with Keycloak and Windows 2008 Active Directory

Fixing OpenVPN "Authenticate/Decrypt packet error: cipher final failed"