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



The information in this article applies to:

  • Microsoft Mobile Information 2001 Server

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


Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbinfo KB296778