cancel
Showing results for 
Search instead for 
Did you mean: 

Audit on custom content types

g_rathod
Star Contributor
Star Contributor
Hi,

Is there any way we can audit custom content types?
like I have my custom type called "xz:mytype"

I create that content , edit that but audit log is not logging my custom type content, it only audit  cm:content  types…
I have following configuration in alfresco-global.properties file.


### Enable audit in general ###
audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=true
audit.alfresco-access.sub-events.enabled=true

### Audit Filter ###
#audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.default.type=cm:folder;cm:content;st:sites;cm:person;xz:mytype
audit.filter.alfresco-access.default.path=/app:company_home/.*;
audit.filter.alfresco-access.default.user=~System;.*


Any clue for this?
2 REPLIES 2

g_rathod
Star Contributor
Star Contributor
I finally resolved with following :

audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site;xz:mytype

Hi Ghanshyam , facing the same issue
I dont want cmSmiley Tongueerson to get audited in the logs
using
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site

not  getting any logs at all 
Please direct
I am  at very beginners level.


audit configuration attached