Microsoft KB Archive/296778

= How to Modify the Short Message Service Connector Log File Size and the Number of Log Files That Are Retained =

Article ID: 296778

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Mobile Information Server 2001 Enterprise Edition

-



This article was previously published under Q296778





SUMMARY
This article describes how to modify the number of entries that are logged in the Short Message Service Connector log files, and how to modify the number of log files that are retained before they are overwritten.



MORE INFORMATION
When you use Mobile Information Server Carrier Edition to send messages to a Short Message Service Center by using the Short Message Service Connector, log files are generated to track connectivity to the Short Message Service Center. By default, a maximum of three log files are retained before the log files are overwritten, and each of these files contains a maximum of 10,000 entries in the log (there is one entry for each row in the log file). To modify the default settings of the Mobile Information Server Carrier Edition log files, you can manually set the appropriate values in the registry.

To change the number of log files that are retained before they are overwritten, add the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\SMS Connector\MaxArchivedLogFiles

Value name: MaxArchivedLogFiles

Data type: REG_DWORD

Radix: Decimal

Value data: This minimum entry for this value is 1; the maximum entry is 50.

To change the number of entries that are logged in each log file, add the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\SMS Connector\MaxItemsPerLogFile

Value name: MaxItemsPerLogFile

Data type: REG_DWORD

Radix: Decimal

Value data: This minimum entry for this value is 1000.

NOTE: If these values are not displayed in the registry key, the default settings are applied. The amount of space required on disk for the additional logs is approximately (MaxArchivedLogFiles * MaxItemsPerLogFile / 10,000) megabytes.

For additional information about changing the logging levels of the Short Message Service Connector log files, click the article number below to view the article in the Microsoft Knowledge Base:

296785 How to Increase Logging Levels for the Short Message Service Connector

Additional query words: mis mmis sms smsc

Keywords: kbinfo KB296778

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.