In my Laravel project i want to clear my laravel.log file but i have no idea how to do it. so i found a solution on it.
First of all you have to navigate to your project storage/logs location then you have to type vim laravel.log command to enter in the laravel.log file.
Solution:
- vim laravel.log
- Then type ggdG
- then :wq save and quit
Notes: gg – moves cursor to first line
d – delete
G – to the end of the file
Resources : https://stackoverflow.com/questions/28127495/in-phps-laravel-how-do-i-clear-laravel-log
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!