Mity Docs Mity Docs for Mity Digital
Logger for Statamic Documentation

Forge and logrotate

Forge comes with logrotate set up and configured to help keep growing log files from getting bigger and bigger.

However, the daily processing of logs of Logger for Statamic is already taking care of this for you.

By default, Forge is configured to rotate all log files within an app's logs folder.

You can see your logrotate configuration at, if you're curious:

We recommend storing Logger for Statamic logs in a different folder to Laravel's. See Configuration Options for more details on how to do this.

This is the simplest way to have Logger for Statamic happily running on a Forge server, without needing to reconfigure logrotate on your server.

Without this configuration, your daily log files can get rotated, and Logger will no longer see them.