SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to log all sharepoint errors, workflow errors, custom code errors into one central place?

I checked this and seems a nice tool, is this saved on a databaase? Can I enable/disable events, like verbose and warnings and only leave exceptions?

share|improve this question
up vote 2 down vote accepted

SharePoint by default logs all the errors into ULS logs typically stored in text files located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Logs.

Tools suggested by James are used to view the logs and most tools allows you to monitor the logs live or archived logs. Most tools would also allow you to filter. For example, you may filter on Level=Information to view verbose logs and level=high for error information.

If you are developing custom solutions on top of SharePoint, it will be your responsibiliy to log messages (with appropriate severity) in this log. I would suggest using a loggin framework that ships with SharePoint guidance: The SharePoint Logger

share|improve this answer

Your custom code should use the ULS to log errors.

To view errors, see this thread List of tools for reading ULS logs

share|improve this answer

There are many other good tools to recommend but to answer the question religiously based on my personal experience with this tool. I would say is really good tool to run on SharePoint application servers or Web Front ends. What I truly like about this tool is filtering of events and live logging as you perform farm operation.

Of course, you can also filter verbose and warnings,exceptions etc.

share|improve this answer

You can manage what gets logged by going to Central Admin - Monitoring - Diagnostic Logging. In here you can see everything that can be logged and the levels of logging.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.