TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Chad's Eclectic Tips and Tricks
Tips some days, not everyday, mostly Windows & SharePoint from Chad Schultz - Premier Field Engineer
Options
Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search Blogs
Tags
BranchCache
Hyper-V
Powershell
Search
Setup
SharePoint
Tip of the day
Troubleshooting
Upgrade
User Interface
Archive
Archives
January 2015
(1)
September 2014
(1)
August 2014
(1)
June 2014
(1)
January 2014
(1)
October 2013
(1)
August 2013
(2)
July 2013
(1)
April 2013
(1)
November 2012
(2)
October 2012
(2)
August 2012
(1)
April 2012
(1)
March 2012
(4)
August 2011
(3)
June 2011
(2)
November 2010
(1)
September 2010
(2)
August 2010
(2)
July 2010
(2)
June 2010
(2)
April 2010
(1)
March 2010
(1)
February 2010
(2)
January 2010
(7)
December 2009
(16)
November 2009
(10)
Tip 21: Don't Read That SharePoint ULS Log
TechNet Blogs
»
Chad's Eclectic Tips and Tricks
»
Tip 21: Don't Read That SharePoint ULS Log
Tip 21: Don't Read That SharePoint ULS Log
Chad Schultz - MSFT
16 Dec 2009 3:59 PM
Comments
1
Likes
This tip is for Windows SharePoint Services 3.0, Microsoft Office SharePoint Server 2007 and may apply to SharePoint Foundation 2010 and SharePoint Server 2010.
A very good tool to use when troubleshooting SharePoint are the
Unified Logging Service
(ULS) logs located at %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\<VERSION>\LOGS and have the file name SERVER-DATE-TIME.log. I talked a little about the ULS diagnostic logging in tip #7;
Set Diagnostic Logging Back to Defaults
. When it is time to look at the logs to troubleshoot an issue it can be very overwhelming to see a text log file that is 1MB - 4GB in size! "How in the world am I going to every read through these logs." is probably going to be the first thing going through your mind when opening one of these gigantic files in a text editor like Notepad. I am going to show a little trick to filter out some of the noise so you can just concentrate on what is important in the logs.
You may already have the tool I am going to talk about on your very machine, it is
Microsoft Office Excel
. That's right; good old, or new Excel, if you are looking at using Office 2010. ;) The trick is that the ULS logs are written in tab delimited format. So you can open the .log file in Excel and then use the sorting and filtering of Excel to filter only the following categories: Exception, Unexpected, Critical and High. These are a good start to track down major issues that is affecting the SharePoint farm. The Monitorable, Medium and verbose are less important to start with. Using the filtering of Excel should get some of those 500,000+ line text files down to a more readable amount.
1 Comments
Comments
Comments
Saurabh Khatri
18 Sep 2013 6:56 AM
I enjoy Notepad++ filtering and on filtering tools such as ULS Viewer
Your comment has been posted.
Close
Thank you, your comment requires moderation so it may take a while to appear.
Close
Leave a Comment
Name
Comment
Post