Hello ANZ Team,
I would like to understand how to enable this new feature in 8,2?
Please advise. Thank you.
7 Answer(s)
-
0
Set
Configuration.Auditing.IsEnabled
andExpiredAuditLogDeleterWorker.IsEnabled
to true.if (Configuration.Auditing.IsEnabled && ExpiredAuditLogDeleterWorker.IsEnabled) { workManager.Add(IocManager.Resolve()); }
-
0
Thank you @maliming. Is this something that automatically sets the expiration of the audit logs or is there a configuration that we need to set to tell the system when the logs get expired? How long is the default age when the logs get deleted?
-
0
hi @ramilcatalandomingo
You can see the source code of
ExpiredAuditLogDeleterWorker
. -
0
Thank you @maliming
-
0
Hello @maliming,
Just to be sure I am doing the right thing. Attached are my changes. Please advise.
Thank you!
-
0
hi
Your code looks fine, you can debug to see if this worker is performing as expected.
-
0
Hi @ramilcatalandomingo,
Yes, that's correct :)