laravel.log is a file that contains logs from various actions in laravel framework. This file is usually located in <your project directory>/storage/logs/
To clear laravel.log you could use the below methods easily.
Method #1
truncate -s 0 storage/logs/laravel.log
Method #2
echo "" > storage/logs/laravel.log
Did this post help you?
Tutsplanet brings in-depth and easy tutorials to understand even for beginners. This takes a considerable amount of work. If this post helps you, please consider supporting us as a token of appreciation:
- Just want to thank us? Buy us a Coffee
- May be another day? Shop on Amazon using our links.
Your prices won't change but we get a small commission.