There are five levels of diagnostic logging set by EventLevel : Lowest , Low , Medium , High , and Expert
. Lowest is the default level for all components after installation of Exchange Server 2007. To change the
EventLevel setting for a given component, use Set-EventLogLevel followed by the name of the
component plus the Level parameter followed by the EventLevel setting.
For example, to set EventLevel on component ???msexchange autodiscover\Core??? to High , use the
following command:
[PS] C:\ > Set-EventLogLevel ???msexchange autodiscover\Core??? -Level High
Set-EventLogLevel does not take wildcards as input, so it is not possible to change the
EventLevel settings for all components in a category by using ??? category name\* ??? as input.
However, Set-EventLogLevel does take pipeline input so it is possible to gather a collection of
components with Get-EventLogLevel and pass them to Set-EventLogLevel to change the setting
on all the components.
For example, to set EventLevel on all components under ???msexchange autodiscover??? to Expert ,
use the following command:
[PS] C:\ > Get-EventLogLevel ???msexchange autodiscover??? | Set-EventLogLevel -Level
Expert
Setting EventLevel for a given component is recommended only when Microsoft documentation
describes diagnostic logging as a way of troubleshooting a specific issue.
Pages:
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123