Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] logrotate in Integration environments #403

Open
joeshelton-wagento opened this issue Sep 17, 2019 · 2 comments
Open

[Feature request] logrotate in Integration environments #403

joeshelton-wagento opened this issue Sep 17, 2019 · 2 comments

Comments

@joeshelton-wagento
Copy link
Contributor

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.

  • The Production environment of a Starter Plan is containerized. The normal traffic load of a Production site will cause log size to increase rapidly.
  • If an error exists during a cron run, that error will continuously be logged, causing even unused Integration environments to exceed storage capacity over time.
@tonyklapatch
Copy link

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
Copy link
Member

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants