Enabling the Recording and Display of Rename and Location History (CATIA V5)
When a file is renamed, Windchill records the data in a table that can be displayed to the user. The administrator configures this display of Rename history and Location history by modifying entries in the configAudit.xml file, located at codebase\registry\auditing\configAudit.xml file.
Be aware that enabling auditing can adversely affect performance and consequently choose to audit the most significant events. To enable display of the Rename History and Location History links on the information page, put the following entries in configAudit.xml and restart the method server.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EventConfiguration SYSTEM "configAudit.dtd">
<EventConfiguration enabled="true">
<KeyEntry eventKey="*/wt.folder.FolderServiceEvent
/POST_CHANGE_FOLDER" multiObject="true"/>
<KeyEntry eventKey="*/wt.epm.EPMDocumentManagerEvent
/PRE_CHANGE_CAD_NAME" multiObject="true"/>
<ConfigEntry class="wt.epm.EPMDocumentMaster"
enabled="true">
<RenameEventEntry eventType="PRE_CHANGE_IDENTITY"
enabled="true"
handler="wt.audit.configaudit.RenameEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.epm.EPMDocumentManagerEvent
/PRE_CHANGE_CAD_NAME"
enabled="true"
handler="wt.audit.configaudit.CADNameChangeAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.epm.EPMDocument" enabled="true">
<KeyedEventEntry eventKey="*/wt.folder.FolderServiceEvent
/POST_CHANGE_FOLDER"
enabled="true"
handler="wt.audit.configaudit.LocationChangeAuditEventRecorder"/>
</ConfigEntry> </EventConfiguration>
* 
The default configAudit.xml file comes with EventConfiguration enabled="false", but with all lower level sections enabled. Therefore, setting EventConfiguration enabled="true" enables all auditing for the application as a whole. To selectively audit events, you must customize which auditing events are enabled.
¿Fue esto útil?