How to turn on TraceLevel logging in Microsoft Operations Manager 2005 (923104)



The information in this article applies to:

  • Microsoft Operations Manager 2005

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

INTRODUCTION

This article describes how to turn on TraceLevel logging in Microsoft Operations Manager (MOM) 2005.

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

By default, logging is turned on in MOM 2005. The logging level is controlled by the TraceLevel DWORD value. The TraceLevel DWORD value is located in the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Mission Critical Software

When you perform a new installation of MOM, the TraceLevel value is set to 1. When the TraceLevel value is set to 1, only errors are logged. However, if you perform an upgrade, the previous TraceLevel value is retained.

Note In MOM 2005, any changes to the TraceLevel value are dynamic. Therefore, you do not have to restart the computer for these changes to take effect.
TraceLevel valueDescription
FFFFFFFFOff
1-3Errors only
3-5Errors and warnings
6-8Errors, warnings, and additional information
9Errors, warnings, additional information, and debug information
Important For performance reasons, we do not recommend that you use TraceLevel 9 in production.

The following log files contain detailed information about the error message. The following log files are stored in the %SYSTEMROOT%\TEMP\Microsoft Operations Manager folder on the MOM Management Server.
Log fileDescription
MOMService(Init)(A/B)1-4.mc8MOM service logging for the initial TraceInitSeconds after the MOM service starts.
MOMService(A/B)1-4.mc8MOM service logging. Text is preceded by Err, Wrn, Inf, or Dbg, depending on the TraceLevel value. Typical consolidator. Service discovery logging.
MOMService.logLogs the computer discovery output. Useful for troubleshooting computer discovery rules, such as failure to discover computers. On the MOM agent computer, this log file is located in the following folder: C:\Windows\Temp\Microsoft Operations Manager
MOMAgentPerformanceHost-mgmtgrp(A/B)1-4.mc8Log file that contains performance data for the MOMHost.exe process on the MOM agent computer. This includes the MOM Management Server.
MOMAgentScriptHost-mgmtgrp(A/B)1-4.mc8Log file that contains the script responses for the MOMHost.exe process on the MOM agent computer. This includes the MOM Management Server.
MOMService(A/B)1-4.mc8MOM service logging. Text is preceded by Err, Wrn, Inf, or Dbg, depending on the TraceLevel value. Typical consolidator. Service discovery logging.
MOMService(Init)(A/B)1-4.mc8MOM service logging for the initial TraceInitSeconds after the MOM service starts.
You can use the MOM Log Viewer (MOMLogViewer.exe) utility to view these log files. The MOM Log Viewer utility is available in the MOM 2005 Resource Kit. To download the MOM 2005 Resource Kit, visit the following Microsoft Web site:Note When you perform a new installation of MOM 2005, the MOM 2005 Reporting component is logged to the MOMServer.log file. The MOM Console information is also logged to the MOMServer.log file. The MOMServer.log file is located in the logged on users Temp folder. The following folder is an example of a logged on users Temp folder:

C:\Documents and Settings\Administrator\Local Settings\Temp\


Modification Type:MinorLast Reviewed:8/14/2006
Keywords:kbinfo KB923104 kbAudITPRO