Using Tracing and Log Files

For debugging purposes, you can enable tracing and generate log files. The following trace levels can be set in the registry:

  • 0 - Error

  • 3 - Warning

  • 6 - Info

  • 9 - Debug

Caution

Trace levels 6 and 9 will impact performance. Make sure that you disable these trace levels after youve generated the log files.

Enable trace levels

  1. Click Start, and then click Run.

  2. Type regedit.

  3. In the registry, navigate to HKEY_LOCAL_MACHINE\Software\Mission Critical Software.

  4. In the Details pane right-click TraceLevel and pick Modify.

  5. Enter the trace level that you want to use, save your changes, and then close the registry editor.

Log file locations

Trace files and log files are found in several locations:

  • On the agent and server computer, in the "%temp%\Microsoft Operations Manager" folder, you may find such trace files as MsiExec.mc8, mmc.mc8, MOMService*.mc8 and MOMHost*.mc8 files.

  • On server computers, in "%ProgramFiles%\Microsoft Operations Manager 2004\AgentLogs" and "%temp%\Microsoft Operations Manager" as mentioned above and in "%Windir%\Temp\Microsoft Operations Manager".

  • Some *.mc8 trace logs, like MOMAgentPerformanceHost*.mc8, MOMAgentScriptHost*.mc8, MOMHost*.mc8 and MOMService*.mc8 files, are in the "%Windir%\Temp\Microsoft Operations Manager" directory.

  • MomService*.log is in the "%Windir%\Temp\Microsoft Operations Manager".

  • Administrator console log files are located in %temp%\Microsoft Operations Manager".

Tip

It is recommended that you use the MOM Trace Log Viewer provided in the MOM 2005 Resource Kit to view the contents of trace log files.