Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Make sure log files are rotated #477

Merged
merged 1 commit into from
Mar 20, 2018
Merged

Make sure log files are rotated #477

merged 1 commit into from
Mar 20, 2018

Conversation

rossjones
Copy link
Contributor

Currently, whilst deployed on PaaS the log files fill up until all
available space is used and then the app freezes. This PR forces the
app to rotate log files every 10Mb with 5 backups.

This fixes #476
It also excludes HEAD requests from logging output as the fastly ping will fill the logs very quickly

Currently, whilst deployed on PaaS the log files fill up until all
available space is used and then the app freezes.  This PR forces the
app to rotate log files every 10Mb with 5 backups.

This fixes #476
@rossjones rossjones merged commit 88a8f26 into master Mar 20, 2018
@rossjones rossjones deleted the rotating-logs branch March 20, 2018 11:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rotate log files
1 participant