Hey Everyone, i dont think this “issue” is for everyone but for me its kind of a big one xD
So for 1 year of production my machine accumulated over 90+GB of DeprecatedLogs so a Cron Job to purge them is necessary.

Should it been purged? Did i forget to set something up? Anyone experienced this before?
Just looking for insights regarding this.
Wish you all a great day 
Add this to php,ini to suppress error
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
This will suppress PHP deprecation and notice-level warnings.
1 Like
I would suggest setting up a logrotate.d script as well.
cd /etc/logrotate.d
use your favorite editor (I use vi)
vi suitelogs
/path/to/prod.depreciation.log /path/to/prod.log{
rotate 12
daily
missingok
notifempty
compress
delaycompress
}
That will set-up linux to rotate your log files for you daily and keep 12 logfiles for you…
1 Like