Share via


Configure Calendar Repair Log Settings

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Every time the Calendar Repair Assistant (CRA) changes a calendar item on a user's mailbox, it writes to a log file. The log file contains information that identifies the calendar item that was repaired and what repair actions occurred. By default, calendar repair logging is enabled.

You can use the following Set-MailboxServer cmdlet parameters to configure calendar repair log settings:

  • CalendarRepairLogEnabled

  • CalendarRepairLogPath

  • CalendarRepairLogFileAgeLimit

  • CalendarRepairLogDirectorySizeLimit

  • CalendarRepairLogSubjectLoggingEnabled

Looking for other tasks related to calendar repair? Check out Managing Calendars.

Use the Shell to enable or disable calendar repair logging

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox server configuration" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to configure calendar repair log settings.

This example disables calendar repair logging for the server MBX01.

Set-MailboxServer -Identity MBX01 -CalendarRepairLogEnabled $false

This example enables calendar repair logging for the server MBX01.

Set-MailboxServer -Identity MBX01 -CalendarRepairLogEnabled $true

For detailed syntax and parameter reference, see Set-MailboxServer.

Use the Shell to change the calendar repair log path

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox server configuration" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to configure calendar repair log settings.

The default installation path for the calendar repair log is <Exchange installation path>\v14\Logging\Calendar Repair Assistant.

This example changes the log file path to C:\Log Files\Calendar Repair Assistant for the server MBX01.

Set-MailboxServer -Identity MBX01 -CalendarRepairLogPath "C:\Log Files\Calendar Repair Assistant"

For detailed syntax and parameter reference, see Set-MailboxServer.

Use the Shell to change the calendar repair log file age limit

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox server configuration" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to configure calendar repair log settings.

The log file age limit specifies how long to retain calendar repair logs. Log files that exceed the maximum retention period are deleted. The default value for the age limit is 00.00:00:00, which means that there is no limit and all log files are retained.

This example changes the calendar repair log age limit to 90 days for the server MBX01.

Set-MailboxServer -Identity MBX01 -CalendarRepairLogFileAgeLimit 90

For detailed syntax and parameter reference, see Set-MailboxServer.

Use the Shell to change the calendar repair log directory size limit

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox server configuration" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to configure calendar repair log settings.

The directory size limit determines the size limit for all Calendar Repair Assistant log files on a Mailbox server. After the limit is reached, the oldest files are deleted. The default size value is unlimited.

This example changes the calendar repair log directory size limit to 1 gigabyte (GB) for the server MBX01.

Set-MailboxServer -Identity MBX01 -CalendarRepairLogDirectorySizeLimit 1GB

For detailed syntax and parameter reference, see Set-MailboxServer.

Use the Shell to enable or disable logging the subject of meetings in the log files

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox server configuration" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to configure calendar repair log settings.

You can include the subject of repaired calendar items in the calendar repair logs. By default, subject logging is enabled.

This example disables subject logging for the Mailbox server MBX01.

Set-MailboxServer MBX01 -CalendarRepairLogSubjectLoggingEnabled $false

For detailed syntax and parameter reference, see Set-MailboxServer.

 © 2010 Microsoft Corporation. All rights reserved.