Microsoft KB Archive/931737

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:36, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 931737

Article Last Modified on 5/10/2007



APPLIES TO

  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition



INTRODUCTION

This article describes how to configure directory size limits for message tracking logs and for managed folder audit logs in Microsoft Exchange Server 2007. These size limits apply to each database.

MORE INFORMATION

You can use the Exchange Management Shell to configure directory size limits for log files in Exchange Server 2007. The MessageTrackingLogMaxDirectorySize parameter is used to configure the maximum limit for directory space to be allocated for message tracking logs. The LogDirectorySizeLimitForManagedFolders parameter is used to configure the maximum limit for directory space to be allocated for managed folder audit logs.

When you configure directory size limits for audit logs or for message tracking logs, the limits apply to each database. The following example shows the total space that log files can occupy in a given scenario:

Limit that is configured = 1 GB
Total number of databases = 10
Total space that is allocated = 10 GB


Therefore, if you configure both parameters in this example, these two types of log files can occupy a total of 20 GB of directory space.

Note All directory size limit parameters for audit logs also apply in a similar manner to each database.

How to set directory size limits

To set directory size limits for log files, you must use the MessageTrackingLogMaxDirectorySize parameter and the LogDirectorySizeLimitForManagedFolders parameter as described in the following sections.

Configure the MessageTrackingLogMaxDirectorySize parameter

To configure the directory size limit for message tracking logs, type the following command at the Exchange Management Console prompt:

Set-TransportServer Computer_Name –MessageTrackingLogMaxDirectorySize DirectorySize


For example, you can set the directory size limit to 400 MB by using the following command:

Set-TransportServer Server_1 –MessageTrackingLogMaxDirectorySize 400MB


Configure the LogDirectorySizeLimitForManagedFolders parameter

To configure the directory size limit for managed folder logs, type the following command at the Exchange Management Console prompt:

Set-MailboxServer –LogDirectorySizeLimitForManagedFolders DirectorySize


For example, you can set the directory size limit to 400 MB by using the following command:

Set-MailboxServer –LogDirectorySizeLimitForManagedFolders 400MB


Units that you can use for size limits

You configure the directory size parameter in the previously described commands by using an integer and a letter or letters that qualify the units that you want.

Alternatively, you can configure the parameter by using the text string "Unlimited" (without the quotation marks).

The following table describes the various letters that you can use as qualifiers.

Letter Unit
B bytes
KB kilobytes
MB megabytes
GB gigabytes
TB terabytes

Note Integers that do not include a qualifier are treated as bytes.

REFERENCES

For more information about how to use these commands, you can refer to the online Help files for Exchange Server 2007.


Additional query words: XADM

Keywords: kbexchtransport kbaudit kbdirectory kbexpertiseadvanced kbhowto KB931737