SMS Provider | Log Size Mb and increase history logs

Boopathi S 3,386 Reputation points
2024-09-26T12:16:41.9133333+00:00

Hello,

Please let me know how to increase log file size of SMSProvider.log and increase the number of history of SMS Provider log.

User's image

Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 44,421 Reputation points Microsoft Vendor
    2024-09-27T02:33:35.9566667+00:00

    Hi, @Boopathi S

    Thank you for posting in Microsoft Q&A forum.

    To increase the log file size and the number of history logs for SMS Provider, you need to configure the logging options. The logging options can be configured through the Windows Registry key.

    To configure logging options for SMS Provider, follow these steps:

    1. Open the Registry Editor on the SMS Provider server.
    2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\@Global
    3. To increase the log file size, modify the LogMaxSize value. The value should be set to any integer greater than or equal to 10,000. For example, to set the log file size to 500 MB, set the value to 500000000.
    4. To increase the number of history logs, modify the LogMaxHistory value. The value should be set to any integer greater than or equal to zero. For example, to keep 5 history logs, set the value to 5.
    5. After making changes to the registry key, restart the SMS Provider service.

    For your reference:

    https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/hierarchy/about-log-files#client-and-management-point-logging-options


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.