Console command / Log Management / log:clear
Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 5.2 instead?
Nut's log:clear
command clears (truncates) the system & change logs.
Usage¶
php ./bin/console log:clear [options]
Options¶
Option | Description |
---|---|
-f, --force | If set, no confirmation will be required |
Example¶
$ php ./bin/console log:clear
Are you sure you want to clear the system & change logs? yes
System & change logs cleared!
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.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.