Your trace files are being overwritten in Identity Manager 3.5.


Never lose your trace files.

The IDM engine supports two ways to handle trace files: either they can be unlimited in size, or they can be automatically rolled over 10 times. The first option might not be so wise, because a system could run out of disc space if not observed carefully. The latter option comes with the disadvantage that at a certain point in time the oldest trace file is overwritten.

Since both methods have their weak points, there is one solution that solves both disadvantages with IDM 3.5. The idea is to use a scheduled trigger to rename the attribute DirXML-Trace file of the driver object itself. Then a separate process on the server can archive the old, offline trace files.

Here are the steps to take:

1. Configure the trace file size to “unlimited”.

2. Set up a scheduled trigger job for the driver.

3. Introduce a SubscriberEvet Transformation policy that sets the DirXML-Tracefile attribute on the driver object to a valid, new name containing a timestamp.

That’s all.


Here’s an example policy that uses a trigger operation to rename trace files:

  <description>use Current Date in Trace File Name</description>
      <if-operation op="equal">trigger</if-operation>
      <if-xml-attr name="source" op="equal">Rename Trace File</if-xml-attr>
    <do-set-src-attr-value name="DirXML-TraceFile">
        <token-text notrace="true" xml:space="preserve">services\DriverSet\Delimited Text</token-text>
      <arg-value type="string">
        <token-text xml:space="preserve">/home/userapp/dttrace</token-text>
        <token-time format="" lang="de-DE" tz="CET"/>
        <token-text xml:space="preserve">.log</token-text>

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
Aug 15, 2007
3:10 am
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management IT Security Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Supported Troubleshooting Workflow