Skip to content

How to clean up logs on Magento Cloud?

I would like to have a log rotation on Magento Cloud, so my logs don’t become 5GB files.

Logs locations

  • /app/okgjweuvmlemc/var/log/
  • /app/okgjweuvmlemc/var/report/

From the OS side we have it, but would I be able to set it up on the application side?