← Back to team overview

dhis2-devs team mailing list archive

Re: Clear Audit Log

 

Thank you Markus.

1. Are there any criteria for an event to appear in audit log or all events
appear in audit log. Any option of disabling it?

2. Can the API support delete records from audit log as of now.


On Thu, 10 Mar 2016 02:33 Markus Bekken, <markus.bekken@xxxxxxxxx> wrote:

> Hi Pamod,
> when the event has an audit log there is currently no means of deleting it
> through the api(and therefore not from the apps). It can be done by first
> deleting entries in the database table trackedentitydatavalueaudit.
>
> Full support is coming, hopefully in 2.23.
>
> Markus
>
> 7. mar. 2016 kl. 18.41 skrev Pamod Amarakoon <pamodm@xxxxxxxxx>:
>
> Dear All,
>
> How do I clear audit log in 2.22. I want to delete a particular event from
> tracker capture, it prevents me from deleting giving an error "The event
> could not be deleted because it contains an auditlog.".
>
> Thank you
>
> --
> Regards,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>

References