Welcome to the PufferPanel community forums! If you need help please register an account and post in the Support category.

What is the auto-scroll function for the logs?

  • I'm creating my own page, using the provided API, to be able to see all server logs and control the servers from the same place. It's mostly just a project for fun. Currently, I have a JS function causing the log divs to scroll every 500ms or so and it works alright, but it hogs resources and causes huge delays when sending commands or power commands.

    I've noticed that on PufferPanel, the log only scrolls to the bottom when something new comes in. Since I'm terrible at looking through code, I thought I'd ask here. What's the code that only scrolls to the bottom when something happens? Will I be able to use it, or is it something that would take too much work?

Log in to reply