Configure ULS logs to rollover after 60 minutes

By default SharePoint rolls over it’s Unified Logging Service (ULS) logs every 30 minutes.  I would like to reduce the number of log files so will increase the rollover to 60 minutes by using the Set-SPDiagnosticConfig PowerShell command:

Set-SPDiagnosticConfig –LogCutInterval 60

To view the current configuration I can use the Get-SPDiagnosticConfig PowerShell command:

(Get-SPDiagnosticConfig).LogCutInterval

Set-SPDiagnosticConfig

Note: The value specified for the interval must be an integer and not greater than 1440.

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]