We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Moonshine provides logrotate for your application's log directory automatically. Sometimes you may need to keep them longer, for whatever reason.
logrotate
Most common is to change the options. Here's an example you can add to your config/moonshine.yml:
config/moonshine.yml
:rails_logrotate: :options: - daily - missingok - compress - delaycompress - sharedscripts
These are actually the defaults. Check out the man page for all the logrotate options.