1)Overview
Audit trail configuration for alfresco 3.3 with old audit mechanism
2) Requirements
Server deployed with alfresco ( Installation method :: Jumpbox)
3) Objective
- Enable Audit trail
- Enable Logging
4) Configuration done
Step 1
On main property file turn audit on. Add the below two lines on alfresco-global.properties
root@serv:~# vi /opt/alfresco/tomcat/shared/classes/alfresco-global.properties
audit.enabled=true
audit.useNewConfig=false # to use disable new config
Step 2
Turn all false values in file auditConfig.xml to true
/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/auditConfig.xml
root@serv:~# sed -i “s/false/true/g” — /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/auditConfig.xml
Step 3
You can turn logging level to debug by adding the following directives in the file log4j.properties
root@serv:~# vi /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties
# Audit debugging
log4j.logger.org.alfresco.repo.audit=DEBUG
log4j.logger.org.alfresco.repo.audit.model=DEBUG
Step 4
Stop/Start alfresco
root@home:~# /etc/init.d/alfresco stop
root@home:~# /etc/init.d/alfresco start