Share via


Turning up the Diagnostic logging in Exchange 2007

Harking back to my support days I was forever asking people to crank up diagnostic logging. In Exchange 2003 and earlier versions this was all controlled from the UI.

In Exchange 2007 this is no longer the case and powershell needs to be used. This was brought to my attention by Kirbs.

There are two cmdlets that control this Get-EventLogLevel” and “Set-EventLogLevel”.

If you want to see what diagnostic logging is currently set at, run “Get-EventLogLevel” and you will see something like :

 

If you want to set event logging to a level you will need to run “Set-eventloglevel -Identity <ECIdParameter> -Level <Lowest | Low | Medium | High | Expert>”

So to set event logging to “Expert” for EdgeSync\Synchronization you would enter “Set-eventloglevel “MSExchange EdgeSync\Synchronization” -Level Expert”

Full details here