How do I enable server logging in Directory and Resource Administrator 7.x? (NETIQKB34219)

  • 7734219
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I enable server logging in Directory and Resource Administrator 7.x?

fact
Directory and Resource Administrator 7.x

fix

The Directory and Resource Administrator server creates certain log files for troubleshooting and diagnosing purpose.  Beginning with version 7.0 these log files have been renamed with a .nq1 extension instead of .mc8.  The Directory and Resource Administrator server logging is controlled by the following two registry keys:

HKEY_LOCAL_MACHINE | SOFTWARE | Mission Critical Software | OnePoint | Administration | Logging | Service

HKEY_LOCAL_MACHINE
| SOFTWARE | Mission Critical Software | OnePoint | Administration | Logging | DomFiles

The above two registry keys have the following values, which can be modified to control the setting of the log files:

  • CircularStartBytes
    This value controls the size of the file.  At the this size, the circular part of the file starts. Data written prior to this point is retained even when the log wraps.
  • FileBackups
    This value controls the number of backup files maintained by the server.  Backups are named XXX_01.nq1, XXX_02.nq1, etc. The ?_01? file is the most recent.
  • FilePath
    This value controls the location of where the log files are created.  By default the log files are created at the following location:
    • Service|FilePath = C:\Documents and Settings\<Installer Account>\Local Settings\Application Data\NetIQ\DRA\Logs\Service\MCSAdminSvc.nq1
    • DomFiles|InitialFilePath = C:\Documents and Settings\<Service Account>\Local Settings\Application Data\NetIQ\DRA\Logs\DomFiles\TempDomLog.nq1
  • TraceLevel
    This value control the amount of data that is logged. Higher numbers generate more logging (FFFFFFFF = off).
  • MaxMegabytes
    This value controls the Maximum size of the log file in MB. At this size, logging either stops or wraps. 


note
Warning: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. NetIQ Technical Support cannot guarantee that problems resulting from the incorrect use of the Registry Editor can be resolved. Make sure that you back up your Registry prior to making any changes .

Additional Information

Formerly known as NETIQKB34219