MECM/SCCM Increase default log file size

Rosemarie Morgan 21 Reputation points
2022-03-08T15:45:35.717+00:00

I want to increase the default max log file size for each component in my Configuration Manager instance. While I can do this on each individual component (via CM Service Manager), I'm looking to increase all of them at once. I found instructions to do this in the registry (HKEY\Software\Microsoft\CCM\Logging\@Global) but the log files remained at the default max size of 2MB. Following the registry change, the SMSExec service was restarted and I also rebooted the server but again, the default size setting remained at 2MB.
Also, I cannot find the corresponding component for one particular log file (SMSProv) to increase the default max size.
Any help would be appreciated!!

Microsoft Security Intune Configuration Manager Other
0 comments No comments
{count} votes

Accepted answer
  1. Jason Sandys 31,406 Reputation points Microsoft Employee Moderator
    2022-03-09T23:01:37.993+00:00

    Each component listed within the ConfigMgr Service Manager has a registry key under HKLM\SOFTWARE\Microsoft\SMS\Tracing\SMS_DISTIRBUTION_MANAGER on the site server or system that it is hosted on. Within this key are the values shown in Service Manager including one for MaxFileSize. The ConfigMgr Service Manager directly updates these values to perform the actual configuration of each component. You can thus easily circumvent this by directly modifying the registry value instead of using Service Manager.

    As usual, please make a backup of the registry and the ConfigMgr site first and test in your lab first as well.

    Side note: The previously noted registry key (HKEY\Software\Microsoft\CCM\Logging\@Global) is for client-based components and their log files only (the MP is, architecturally an extension of the client thus you see some MP threads listed in there as well).

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Rita Hu -MSFT 9,661 Reputation points
    2022-03-09T07:35:28.567+00:00

    @Rosemarie Morgan
    Thanks for your posting on Q&A.
    I found instructions to do this in the registry (HKEY\Software\Microsoft\CCM\Logging\@Global) but the log files remained at the default max size of 2MB.
    As far as I know, the setting will increase the following log files. However, this option has no effect on site server logs.
    181355-3.png

    There are no built-in settings to make the goal achievable right now. But I will research further and test it in lab to check whether there is helpful script. I will come back if there are any good news.

    Also, I cannot find the corresponding component for one particular log file (SMSProv) to increase the default max size.
    I have reviewed my lab. It seems that there is indeed no SMS_providers component in the Configuration Manager Service Manager. But we could edit the log file size in the registry.
    181346-5.png

    Hope the above will be helpful.

    Best regards,
    Rita


    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 "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

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.