Question

Openshift creates tons of log files and my gear quota exceeds in one week. I don't want to delete the log file every week. It is showing error logs and access logs. Error logs are very less in size 1-5 MB each, but access logs are 30-60 MB each.

How to stop open shift from creating log files? 
Was it helpful?

Solution

There is a command line argument for cleaning the log files.

rhc app tidy

so running this as a cron job daily would partially solve your issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top