Monday, November 11, 2013

New-SPLogFile – Troubleshooting SharePoint Easily

If you are troubleshooting some SharePoint Environment, a good tip is start a new SharePoint Log to facilitate the error captures.

To start a new SharePoint Log follow these steps:

1) Open the SharePoint 2013 Management Shell as Administrator;

splogs1

2) Type the command ant press Enter:

New-SPLogFile

3) Navigate to the drive/folder of the SharePoint log files. To check where the log files are, Open the “Central Administration”, click on “Monitoring” menu, click on “Configure diagnostic logging” menu:

splogs3

4) Scroll down until “Trace log” and select the “Path” and click “Ok”:

splogs4

5) Open Windows Explorer and navigate until the “Path” that you got previously. In Windows Explorer window, click on the “Date modified” column to set up descending order;

splogs5

6) Open the last log file and good troubleshooting :-)

No comments:

Post a Comment