Set the maximum log size for applications to 500 MB
Set the maximum log size for applications to 500 MB

We had an incident recently where the log files were many GBs
because of a bug and that filled the disk space and took out
all the other apps on the backend machines.

One suggestion would be to make logrotate work on log sizes as
well as the usual daily rotation.

I can't find an application log file bigger than 65 MB currently
across all our machine classes which run apps, so 500 MB should
mean we never lose daily logs under normal circumstances.

alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet