Share via

WSS_Logging is growing with 7 days retention on

Andriy Granovsky 0 Reputation points
2026-05-11T20:07:23.7366667+00:00

Hi,

__WSS_Logging file is growing resulting in low free space on disk. Our retention is already set at 7 days. Please advise on how to manage it so that it doesnt grow so quickly.

Thanks,__

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments

1 answer

Sort by: Most helpful
  1. Teddie-D 16,370 Reputation points Microsoft External Staff Moderator
    2026-05-12T00:16:25.16+00:00

    Hi @Andriy Granovsky 

    This behavior is expected in SharePoint Server. 

    The “Number of days to keep log files” setting only determines how long logs are retained. It does not limit the volume of logs generated. The amount of logging primarily depends on the configured logging level and overall farm activity. 

    According to Configure diagnostic logging in SharePoint Server - SharePoint Server | Microsoft Learn, diagnostic logging can generate large amounts of data depending on configuration. Even with a 7‑day retention period, the WSS_Logging (ULS) folder can grow quickly if logging is set to Verbose/VerboseEx, or if the farm is producing a high volume of events.  

    To help prevent rapid growth, consider the following best practices: 

    -Restrict log disk usage: Configure a maximum size so SharePoint automatically deletes older logs once the limit is reached: Central Administration > Monitoring > Configure diagnostic logging.  

    -Review logging levels Use Medium, Warning, or Unexpected for normal operations. Enable Verbose only temporarily when troubleshooting.  

    -Move logs to a separate drive  

    I hope this information is helpful. 


    If the answer is helpful, 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.   

    Was this answer helpful?


Your answer

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