Enable or Disable Information Rights Management Logging

 

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

In Exchange 2010 Service Pack 1 (SP1), you can use Information Rights Management (IRM) logs to monitor and troubleshoot IRM operations on Mailbox, Hub Transport, Client Access, and Unified Messaging servers. IRM logging is enabled by default.

IRM logs use the following common set of parameters:

  • IrmLogEnabled   Enables or disables IRM logging. Default: $true

  • IrmLogMaxAge   Specifies the maximum age of IRM log files. Files older than the specified age are deleted. Default: 30 days.

  • IrmLogMaxDirectorySize   Specifies the maximum size of the directory that contains IRM logs. When a directory reaches its maximum file size, the server deletes the oldest log files first. Default: 250 Mb.

  • IrmLogMaxFileSize   Specifies the maximum size of each IRM log file. When a log file reaches the specified size, a new log file is created. Default: 10 MB.

  • IrmLogPath   Specifies the location of the IRM log directory. Default: <Exchange 2010 Install path>\V14\Logging\IRMLogs.

To configure IRM logging for each server role, use the corresponding Set cmdlet. For example, to configure IRM logging on a Hub Transport server, use the Set-TransportServer cmdlet.

Looking for other management tasks related to IRM? Check out Managing Information Rights Management.

Use the Shell to enable IRM logging on a server

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Configure IRM logging" entry in the Messaging Policy and Compliance Permissions topic.

Note

You can't use the Exchange Management Console (EMC) to enable IRM logging on a server.

This example enables IRM log on a Hub Transport server.

Set-TransportServer -Identity EXCH01 -IRMLogEnabled $true

For detailed syntax and parameter information, see the following topics:

Use the Shell to disable IRM logging on a server

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Configure IRM logging" entry in the Messaging Policy and Compliance Permissions topic.

Note

You can't use the Exchange Management Console (EMC) to disable IRM logging on a server.

This example disables IRM logging on a Hub Transport server.

Set-TransportServer -Identity EXCH01 -IRMLogEnabled $false

For detailed syntax and parameter information, see the following topics:

 © 2010 Microsoft Corporation. All rights reserved.