How do I make sure old crash data is regularly deleted?
There is an INI configuration setting that controls whether old crash data is deleted and how much is deleted, by default crashes that happened over 90
days ago are deleted. If you wish to change the number of days to consider to delete the data, you can set the below config in your config/config.ini.php
file.
[CrashAnalytics]
delete_crash_data_older_than={no_of_days}
The setting is the number of days for which a crash is considered old and in need of deletion.
Setting the value to 0
will disable purging and crash data will never be deleted.
Note: This deletion task is executed daily.