How to change the size of connector log files (321014)



The information in this article applies to:

  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Enterprise Server
  • Microsoft Exchange 2000 Server
  • Microsoft Exchange Server 5.5
  • Microsoft Exchange Server 5.0

This article was previously published under Q321014

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

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.

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbinfo KB321014 kbAudITPRO