When log files become large, it's easy for the process generating the page to exhaust the available PHP memory.

A quick fix is to apply a level of paging to the displayed log lines. While there are still limitations to this approach, it doesn't involve any major changes.

Comments

kienan created an issue. See original summary.

kienan’s picture

Issue summary: View changes
StatusFileSize
new1.07 KB

This patch builds on the work in https://www.drupal.org/project/hosting_logs/issues/3162669 which adds a common helper function for building the display of the log files. If needed, a separate patch can be rolled to apply onto 7.x-3.x instead.

kienan’s picture

Status: Active » Needs review