Search SharePoint ULS Logs with Windows

Posted by djeeg on Stack Overflow See other posts from Stack Overflow or by djeeg
Published on 2011-01-17T01:50:28Z Indexed on 2011/01/17 1:53 UTC
Read the original article Hit count: 526

Filed under:
|
|

Hi, I have a standard/new Windows 2008 R2 install with SharePoint 2010 and am looking for a SharePoint expectation that occurred sometime during the last week.

So I open windows explorer, then go to the logs directory (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS). In the toolbar I can enter some search text (exception) or i can Ctrl-F which puts my cursor in the same search box. First it searches the filenames, comes back with no results, and then i click File Contents. And it comes back with still no results.

Now I think, maybe there are no errors, so i search for something that I know is in the log (w3wp), still no results.

In previous versions of windows, i could usually fix this by making *.log files read as text. But apparently (http://technet.microsoft.com/en-us/library/cc725753(WS.10).aspx) *.log files should already be read as text.

Any idea how to make the search, really search log files. I would prefer a solution that did not involve installing any 3rd party software (eg like ULSViewer), but registry/powershell settings are okay.

© Stack Overflow or respective owner

Related posts about search

Related posts about sharepoint2010