문제

This is the curl request I am using to clear audit entries:

curl -u admin:admin -X POST "http://localhost:8080/alfresco/service/api/audit/clear/{AuditExampleLogin1}?fromTime={2014-03-07T17:26:51.325+05:30}&toTime={2014-03-10T10:01:33.970+05:30}"

but this deletes all the audit entries, I can see that when I do

curl -u admin:admin "http://localhost:8080/alfresco/service/api/audit/query/AuditExampleLogin1?" 

And the audit clear curl request does not delete from the database. Why and which entries does it delete?

도움이 되었습니까?

해결책

There is an open issue regarding clearing audit data from database. Currently, the audit clear request "only" clears the link between the data fragments that make up an audit entry (alf_audit_* tables), so it can no longer be found but the data still exists in the database (alf_prop_* tables). See https://issues.alfresco.com/jira/browse/MNT-10067 for the open issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top