How to increase logging level for Exchange?

When troubleshooting Exchange issues (e.g. OAB) you sometimes will need to increase the logging level on events. This way it will give you a better idea of what is the problem.

To increase the logging level is very easy. You can run the ‘Set-EventLogLevel’ using the Exchange Management Shell. First when you have the Exchange Management Shell open, type in the ‘Get-EventLogLevel’ to get the event log levels of all of Exchange processes. Once you find which event log you want to increase, type in the ‘Set-EventLogLevel’ command to set it up.

e.g. To increase the logging level of the Offline Address Book processing, you will need to type in the following command :

Set-EventLogLevel -Identity “MSExchangeSA\OAL Generator” –Level Expert

This will increase the level to Expert.

Lowest = Only critical events, error events, and events with a logging level of zero are logged.

Low = Events with a logging level of 1 or lower are logged.

Medium = Events with a logging level of 3 or lower are logged.

Maximum = Events with a logging level of 5 or lower are logged.

Expert = Events with a logging level of 7 or lower are logged.