How to deal with SCCM IIS logs

SliperPoon 266 Reputation points
2023-02-27T13:48:28.04+00:00

I almost get the C:\ full on my SCCM server, the IIS log files take couples of GB on the drive, can I delete the logs? How do I maintain these logs?

Microsoft Configuration Manager
{count} votes

Accepted answer
  1. CherryZhang-MSFT 6,481 Reputation points
    2023-02-28T09:37:40.4233333+00:00

    Hi @SliperPoon

    How do I maintain these logs?

    You can manage the amount of server disk space that Internet Information Services (IIS) log files consume by using compression, remote storage, scripted deletion, and an IIS Log Cleaner Tool. To do this please refer to following links:

    https://learn.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/managing-iis-log-file-storage

    https://www.systemcenterdudes.com/sccm-iis-log-files/

    Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    Looking forward to your feedback.

    Best regards,
    Cherry


     

    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Garth 411 Reputation points
    2023-02-27T15:08:28.35+00:00

    Yes, you can delete them.

    0 comments No comments