Contents
By default, ULS logs are located in the SharePoint hive. For example, the default location for SharePoint 2016 ULS logs is %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\16\Logs.
If you want to see a particular log, it’s just as easy. Click File –> Open From –> File. It defaults to the LOGS directory, and browse the list to find the ULS log file you want. You can see the date/time, process, product and category, severity level, Correlation (remember that?) and a detailed message of each event.
What is a ULS log?
The Unified Logging Service (ULS) writes SharePoint Foundation events to the SharePoint Trace Log, and stores them in the file system. ULS logging, when implemented effectively, can provide very useful information for developers, server administrators, and support personnel alike.
What is ULS logging?
ULS Logs Test. The Unified Logging Service (ULS) writes SharePoint Foundation events to the SharePoint Trace Log, and stores them in the file system. ULS logging, when implemented effectively, can provide very useful information for developers, server administrators, and support personnel alike.
In a previous post, Get the Real SharePoint Error using the ULS Logs, I explained how to find the necessary information in the ULS log files to help determine the cause of an error. My process involved logging into your farm servers and searching the ULS log files for the correlation ID that is supplied with the error SharePoint gives you.
Where can I find the ULS error message?
Since you know how to reproduce the error, you can use a tool called “ULS Viewer” to find the corresponding error message. You can download the ULS Viewer from the Microsoft Download Center. Open the ULS Viewer on a SharePoint server and hit the play button on the top next to the open button.
How does the log level affect the ULS log?
The log level determines how much information is logged to the ULS log. Often the default configuration is enough. But if not, then you can configure the ULS log to show more information like database calls or permission mask checks. To configure the ULS log level through the UI, log in to a SharePoint server and open up the Central Admin.
How to view live ULS log in PowerShell?
To monitor live ULS logs, Use File >> Open From >> ULS (Ctrl + U) option! You can also use PowerShell cmdlet Get-SPLogEvent to get error details from the correlation ID.