Introduction

This blog is mainly focused on SharePoint
I will use this to store and share all the tips and tricks about SharePoint and the related products
List of all posts

Moving SharePoint Log out of C drive


Topic Moving SharePoint Log out of C drive
Output Quick Win

Step Description
Diagnostic logs: Central Admin > Monitoring > Configure Diagnostic Logging (/_admin/metrics.aspx).
The setting is the “Trace Log” path at the bottom
With PowerShell
Set-SPDiagnosticConfig -LogLocation "D:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS"
Usage logsCentral Admin > Monitoring > Configure web analytics and health data collection (/_admin/LogUsage.aspx).
The setting is the "Log file location" setting.
With PowerShell
Set-SPUsageService -UsageLogLocation "E:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS"

No comments:

Post a Comment

by Category