This article describes how to turn on TraceLevel logging in Microsoft Operations Manager (MOM) 2005.
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.
Collapse this tableExpand this table
| TraceLevel value | Description |
|---|
| FFFFFFFF | Off |
| 1-3 | Errors only |
| 3-5 | Errors and warnings |
| 6-8 | Errors, warnings, and additional information |
| 9 | Errors, 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.
Collapse this tableExpand this table
| Log file | Description |
|---|
| MOMService(Init)(A/B)1-4.mc8 | MOM service logging for the initial TraceInitSeconds after the MOM service starts. |
| MOMService(A/B)1-4.mc8 | MOM service logging. Text is preceded by Err, Wrn, Inf, or Dbg, depending on the TraceLevel value. Typical consolidator. Service discovery logging. |
| MOMService.log | Logs 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.mc8 | Log 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.mc8 | Log 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.mc8 | MOM 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.mc8 | MOM 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\