Echoing an empty string to it would work, like this :
echo "" > storage/logs/laravel.log
The most efficient would be to truncate
it to a size of zero :
truncate -s 0 /app/storage/logs/laravel.log
Echoing an empty string to it would work, like this :
echo "" > storage/logs/laravel.log
The most efficient would be to truncate
it to a size of zero :
truncate -s 0 /app/storage/logs/laravel.log