AnsweredAssumed Answered

is it possible to limit the audit output

Question asked by mrksjs on Feb 27, 2012
Latest reply on Mar 1, 2012 by mrksjs

i configured auditing for community version of alfresco 3.4.d and i managed to receive most of the details i need. however the audit output is massive, when im browsing my sites it seems like the logfile is exploding!
i created a file in /tomcat/shared/classes/alfresco/extension/audit like the following

<?xml version='1.0' encoding='UTF-8'?>

   An example of how user login details can be captured.

    xsi:schemaLocation=" alfresco-audit-3.2.xsd"

       <DataExtractor name="simpleValue" registeredName="auditModel.extractor.simpleValue"/>

       <DataGenerator name="personFullName" registeredName="auditModel.generator.personFullName"/>

        <PathMap source="/alfresco-api/post/NodeService/createNode/no-error" target="/auditexamplecreate/create"/>

    <Application name="AuditExampleCreate" key="auditexamplecreate">
        <AuditPath key="create">
       <RecordValue key="file" dataExtractor="simpleValue" dataSource="/auditexamplecreate/create/args/assocQName"/>
            <GenerateValue key="user" dataGenerator="personFullName"/>


i'd have 2 questions:
- how can i limit the audit output to my configured "sets" (application,pathmapping,datagenerator,..) only
- is it possible to write the audit trail into a seperate file?