logs:clear

php mitosis logs:clear
php mitosis logs:clear --path=/custom/logs/dir
✓ Logs cleared at /path/to/storage/logs.

Matches every *.log* file directly under storage/logs and one level of subdirectories (covering error/app.log, error/db.log, event/timeline.log — see Logger's three real channels). Truncates each to empty in place rather than deleting it, so nothing needs to recreate the file or its directory afterward.

Next steps

  • Logger — what actually writes to the files this command clears.