magento / magento-cloud

Magento Cloud
Open Software License 3.0
205 stars 236 forks source link

[Feature request] logrotate in Integration environments #403

Open joeshelton-wagento opened 5 years ago

joeshelton-wagento commented 5 years ago

The logrotate utility should be installed and preconfigured on Integration (containerized) environments. Running out of storage due to large log files happens for various reasons. Its absence an unexpected inconsistency with clustered (Pro Plan Production and Staging) environments, which have logrotate. Further, the utility is consistently offered by Magento Cloud's hosting competitors.

A couple scenarios in which I have encountered the issue.

tonyklapatch commented 3 years ago

As of 2021, it looks like logrotate is installed on both pro plan prod and staging environments as well as integration environments under /usr/sbin/logrotate. However, it isn't configured out of the box.

Staging and prod are on logrotate version 3.8.7 while integration environments are on 3.11.0.

damienwebdev commented 2 years ago

@tonyklapatch would you happen to have a guide for configuring logrotate for the integration environments? Or, even a simple conf file that could be dropped in?