Huge log file
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 4
- Joined: 15 Apr 2024, 09:39
Huge log file
Hi,
/myshop/storage/laravel.log this log file is taking bigspace like 24GB currently showing in my server. How can I control this occupy small space to avoid the server GB limit?
/myshop/storage/laravel.log this log file is taking bigspace like 24GB currently showing in my server. How can I control this occupy small space to avoid the server GB limit?
-
- Posts: 19
- Joined: 06 Dec 2022, 09:37
Re: Huge log file
Hi, First you should check for ongoing errors in your system by continuously monitoring the Laravel log file. If you are using Linux try the command tail -f laravel.log.
It's essential to promptly address and resolve those errors.
Additionally, consider implementing a log rotation policy based on either date or size criteria.
check laravel recommend options
It's essential to promptly address and resolve those errors.
Additionally, consider implementing a log rotation policy based on either date or size criteria.
check laravel recommend options