-
We have Nebula logger records taking up an inordinate amount of data storage. How can we run both of the below apex classes to delete the existing records and run the scheduled job to delete records? Am on release 4.11.7 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @baobao917 I think the easiest option is to schedule the
Once you've done that, the scheduled job will automatically delete any old data in |
Beta Was this translation helpful? Give feedback.
Hi @baobao917 I think the easiest option is to schedule the
LogBatchPurgerScheduler
class to run daily underSetup
. You can do that with these steps:Setup
, go toApex Classes
and click the buttonSchedule Apex
Schedule Apex
page, provide aJob Name
, selectLogBatchPurgeScheduler
forApex Class
, and choose the frequency options you'd likeOnce you've done that, the scheduled job will automatically delete any old data in
Log__c
,LogEntry__c
andLogEntryTag__c
, based on the date fieldLog__c.LogRetentionDate__c
.