http://wiki.alfresco.com/wiki/Audit_Configuration
Alfresco Audit is note turn on by default.
Create custom-audit-services-context.xml in the extension directory
<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE beans PUBLIC ‘-//SPRING//DTD BEAN//EN’ ‘http://www.springframework.org/dtd/spring-beans.dtd’><beans>
<!– The configuration of the audit model –><bean id=”auditConfiguration” class=”org.alfresco.repo.audit.AuditConfigurationImpl”>
<property name=”config”>
<value>alfresco/extension/auditConfig.xml</value>
</property>
</bean>
</beans>
Create auditConfig.xml in the extension directory
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!– Default Audit Configuration –>
<Audit xmlns=”http://www.alfresco.org/model/audit/1.0” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” enabled=”true” auditInternal=”false” mode=”all”><Service name=”ContentService” mode=”none”>
<Method name=”getWriter” mode=”all”/>
<Method name=”transform” mode=”all”/>
<Method name=”getReader” mode=”all”/>
</Service>
<Service name=”FileFolderService” mode=”none”>
<Method name=”rename” mode=”all”/>
<Method name=”move” mode=”all”/>
<Method name=”copy” mode=”all” auditInternal=”true”/>
<Method name=”create” mode=”all”/>
<Method name=”delete” mode=”all”/>
<Method name=”makeFolders” mode=”all”/>
<Method name=”getWriter” mode=”all”/>
<Method name=”getReader” mode=”all”/>
</Service>
</Audit>
To view the Audit trail
View Details >> Custom Views >> Modify >> show_audit.ftl Template >> ok