In Exchange 2007 you could only enable most of the logging via Powershell. In Exchange 2010 Beta this has changed back to configuring it via the GUI just as in Exchange 2003.

Enabling the logging can be done via a simple press on the button and specifying the correct log and level of logging.

  • open the Exchange Management Console
  • choose one of the serverroles under server configuration
  • click on the button manage diagnostic logging in the right menu

Diagnostic Logging

A new window will be opened where you can select the items you which to enable logging for:

Item's you can diagnose

For some items you can specify sub-items, in the case of Activesync this are: configuration and requests.

When you have chosen the item you wish to log you need to specify the level of logging, this can be specified from lowest to expert. When you have selected the correct options you can press the button configure and logging is configured.

When ready with troubleshooting you can reset the logging levels to factory default by simply choose the option reset all services to default logging levels.

 

Besides logging for troubleshooting you can enable audit logging in Exchange 2010 Beta. With this option it’s possible to log the use of Powershell commands by administrators.

Configuring audit logging can only be done via Powershell and can be done by executing the following steps:

  • specify which commands you want to log: _Set-AdminAuditLogConfig -AdminAuditLogCmdlets *

_ In the previous example all commands will be logged. This can be changed if you like to only log specific commands, for example: Set-AdminAuditLogConfig -AdminAuditLogCmdlets New-Mailbox, *TransportRule

  • next step is specifying the parameters you want to log: _Set-AdminAuditLogConfig -AdminAuditLogParameters *

_ In the previous example all parameters will be logged, just like -AdminAuditLogCmdlets you can change this so only specific parameters will be logged instead of all parameters.

  • next step will be define the mailbox where the logs need to be send to: Set-AdminAuditLogConfig -AdminAuditLogMailbox user@domain.com
  • final step is enabling the logging:  Set-AdminAuditLogConfig -AdminAuditLogEnabled $True

This is the end of the second article about Exchange 2010 Beta.


Comments


Johan Veldhuis