Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to change the size of connector log files


View products that this article applies to.

This article was previously published under Q321014

↑ Back to the top


Summary

By default, when you increase the logging that is used by the Microsoft Exchange Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 5.5, and Microsoft Exchange Server 5.0 connectors by using the Microsoft Exchange Connectivity Controller (MECC) the connector creates a new file every time the log file size reaches 500 kilobytes (KB). You can change this default behavior by editing the Exchconn.ini file.

For additional information about how to increase logging for MECC connectors, click the following article number to view the article in the Microsoft Knowledge Base:
295307� How to enable and increase logging for Microsoft Exchange Connectivity Controller connectors

↑ Back to the top


More information

To more easily troubleshoot connector problems, you can change the log files that are configured by the process that is mentioned in the article in the "Summary" section so that they are much larger. The setting is controlled in the Exchconn.ini file. By default, the Exchconn.ini file is located in Program files\Exchsrvr\Bin folder.

To increase the size of the log file:
  1. Open the Exchconn.ini file, and then locate the following section:
    [LSDEVLOG]
        level = 4
    ;   keepdays = 3
    ;   logfile = logs\ 
    ;   maxlogsize = 500000
    ;   verbose = Y
    ;   format =
    ;   name =
    ;   args =
    				
  2. Remove the semi-colon from the "maxlogsize" line, and then change the value to the size of the log file that you want to generate. This value is measured in bytes.

    For example, you may change the file as to read as follows:
    [LSDEVLOG]
        level = 4
    ;   keepdays = 3
    ;   logfile = logs\ 
        maxlogsize = 75000000
    ;   verbose = Y
    ;   format =
    ;   name =
    ;   args =
    				
  3. Stop and then restart the Microsoft Exchange Connectivity Controller (MECC) service.

    Note This change is not effective until you complete this step.

↑ Back to the top


Keywords: KB321014, kbinfo

↑ Back to the top

Article Info
Article ID : 321014
Revision : 4
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 296