Applies to: Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2008-01-18

This topic explains how to use the Exchange Management Shell or a registry editing tool to enable diagnostic logging on a computer that is running Microsoft Exchange Server 2007 that has the Unified Messaging server role installed. By default, diagnostic logging is enabled on a Unified Messaging server but is set to the lowest level. However, if you are troubleshooting an issue on a Unified Messaging server, you may have to increase the diagnostic logging level to help you locate the source of the problem.

Event Viewer maintains logs about program, security, and system events on your computer. These logs include errors and events that occur on a Unified Messaging server. You can use Event Viewer to view and manage the event logs, gather information about hardware and software problems, and monitor Unified Messaging error and events. Although Event Viewer is a Microsoft Windows operating system tool and not a Microsoft Exchange tool, Event Viewer is useful when you troubleshoot problems with Unified Messaging. For more information about Unified Messaging errors and events, see Unified Messaging Errors and Events Reference. For more information about Event Viewer, see Checking the Event Viewer.

Note:
Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

Before You Begin

To perform the following procedures, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group on the target server.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Procedure

To use Registry Editor to enable diagnostic logging on a Unified Messaging server

  1. Click Start, click Run, type regedit.exe, and then click OK.

  2. Using Registry Editor, locate the following registry key: HKeyLocalMachine\System\CurrentControlSet\services\MSExchange Unified Messaging\Diagnostics

  3. In the details pane, double-click the appropriate registry value, and then use the following values to configure the appropriate logging level:

Logging level Value

Expert

7

High

5

Medium

3

Low

1

Lowest

0

To use the Exchange Management Shell to enable diagnostic logging on a Unified Messaging server

  • To enable diagnostic logging for the UMCore DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMCore" -level <Lowest | Low | Medium | High | Expert>
    
  • To enable diagnostic logging for the UMWorkerProcess DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMWorkerProcess" -level <Lowest | Low | Medium | High | Expert>
    
  • To enable diagnostic logging for the UMManagement DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMManagement" -level <Lowest | Low | Medium | High | Expert>
    
  • To enable diagnostic logging for the UMService DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMService" -level <Lowest | Low | Medium | High | Expert>
    
  • To enable diagnostic logging for the UMClientAccess DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMClientAccess" -level <Lowest | Low | Medium | High | Expert>
    
  • To enable diagnostic logging for the UMCallData DWORD value, run the following command.

    Copy Code
    Set-EventlogLevel "MyUMServer\MSExchange Unified Messaging\UMCallData" -level <Lowest | Low | Medium | High | Expert>
    

If you want to view the current logging level for a Unified Messaging server, run the following command:

Copy Code
Get-EventlogLevel "MyUMServer\MSExchange Unified Messaging"

For more information about syntax and parameters, see Set-EventLogLevel.

For More Information

For more information about how to troubleshoot and test a Unified Messaging server, see the following topics: