how to clear log file in laravel code example Example: clear log file laravel command truncate -s 0 storage/logs/laravel.log