How to disable circular logging for the NetIQ DRA Core Service

  • 7012088
  • 04-Apr-2013
  • 05-Apr-2013

Environment

NetIQ Directory and Resource Administrator 8.6.x

Situation

The NetIQ Directory and Resource Administrator Core Service will log its command output to a log file. By default the amount of detail in the log file is very limited. The log file will also overwrite itself when the file size reaches a maximum size; this is known as circular logging. When troubleshooting technical problems related to the DRA Core Service, it can become necessary to alter the log settings.

Resolution

To change the Core Service circular logging, as well as the log level:
  1.  Logon locally to the DRA Server as an AD User with Local Administrator rights to the DRA Server OS
  2. Open Regedit
  3. Navigate to the following hive:
    1. 32 bit OS: HKLM\Software\Mission Critical\OnePoint\Administration\Logging\Core Service
    2. 64 bit OS: HKLM\Software\wow6432Node\Mission Critical\OnePoint\Administration\Logging\Core Service
  4. To enable a new log file to be created after the log file reaches a maximum size:
    1. Change CircularLogging to a Decimal Value of 1 
  5. To adjust the maximum file size of a log file:
    1. Change the value of FileMaxSizeMB to a Decimal Value no higher than 25
  6. To adjust the maximum number of log files to keep, before circular logging occurs:
    1. Change the value of FileNumBackups to a Decimal Value. In most cases 10 files is enough. 
  7. To adjust the logging detail level:
    1. Change the value of Tracelevel to a Decimal Value of 10 
  8. Once all the registry changes have been made, restart the NetIQ DRA Core Service.

Additional Information

Using the registry editor should be done with caution. Having a backup of the registry and / or OS before making any changes is advised.

The NetIQ DRA Core Service does not have a direct impact on AD Administration within the DRA Consoles.

The FileName Registry key contains the path to the DRA Core Service Log files.
Please also be aware of the disk space used to store the log files. The disk space needed can be determined with the following formula:
File Size X Max Number Files = Total Disk Space in MB