The Weidenhammer Blog

A Little Tip About Debugging with SharePoint Log files

Posted on: April 4th, 2014 | Category: Microsoft SharePoint

Often times, when looking in to a SharePoint problem, we look at the log files to help us look deeper. In a default configuration, these files are located in the directory : C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/LOGS . Have you ever tried to open one of those files that is huge, and your text reader application (notepad) goes to not responding? OR worse. tried to figure out what happened in a particular time frame? Here’s a quick tip, start a SharePoint Management Shell instance, and type in New-SPLogFile. This will start a new log file. Re-create your problem, then run the command again. Now go back, and you will see a (hopefully smaller) new log file that contains the entries for the time frame between the two New-SPLogFile commands.

 

Share
Gunars Foldats

Gunars Foldats

Mr. Foldats is the Microsoft SharePoint Practice Leader at Weidenhammer. He is a dynamic, entrepreneurial technology leader with broad technical, communication, and people skills and a proven ability to establish new lines of business while growing and managing long-term clients. Mr. Foldats specializes in translating complex technical concepts in business terms to line of business and C-level executives. More specifically, he is a software solutions professional experienced with development of proposals, system architecture, application design, and system implementation. His marketing experience includes developing value propositions and packaging, management of channel partner programs, execution of telemarketing and seminar tactics and solution analysis and design. He possesses Wide industry experience including the fields of Casino/Hospitality, Healthcare, Pharmaceuticals, Financial and Retail. In addition, Mr. Foldats also maintains Software solutions channel sales experience within the area of software sales, including: Microsoft, IBM and various third party / ISV solutions.