Drone UI console logs limit

Is there a limit to how much logs the Drone web UI can display?

We have a long running job, and the Drone web UI stops following the logs at some point. If I download the log from Drone UI as shown below, it’s exactly 5 MiB. So I’m guessing there is a limit? Can it be changed?

Thanks!