Edit on GitHub
Jump to docs navigation

Console command / Log Management / log:trim

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 5.2 instead?

Nut's log:trim command trims the system & change log entries older than seven days.

Usage

    php ./bin/console log:trim

Example

$ php ./bin/console log:trim
System & change logs trimmed!


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.