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

I am looking for the location where SharePoint 2010 stores Diagnostic Logging Categories located on the Central Administration Diagnostic Logging page.

share|improve this question
up vote 2 down vote accepted

It is not simply a file or list somewhere. The Diagnostic areas and sub-categories are provided by custom diagnostic services derived from the SPDiagnosticsServiceBase.

Todd Carter has a good blog and sample code:

share|improve this answer
Hi Chris, I am following this article but want to know where the data is stored for the categories specified in the enum. In my case I continue to have problems with duplicate categories being created and was hoping to locate where they are being store to be sure they don't previously exist because of development deploys and redeploys. – ChiliYago Jun 15 '11 at 21:20
I can guess that duplicate entries were created because two different custom service (assuming sharepoint would not allow same service to be provisioned more than once) provisioned same category name. If you look into the article below, when a feature is deactivated, the service is deleted. You may have to write similar code (a console app or powershell) to delete the service. – Ashish Patel Jun 15 '11 at 21:48
I see references to my old classes in the Farm's content database in the Classes table. What is best way to clear them out? My Central Admin shows no references to the solution in the Solution Management Page. – ChiliYago Jun 15 '11 at 22:12
There appears to be references to class objects created by my Farm Solution in Classes and Objects tables of the farm configuration db . My test show that Remove-SPSolution cmdlet does not remove the records from these tables. Although not supported by MS I deleted the records of my orphaned classes and my problems were solved. – ChiliYago Jun 15 '11 at 22:57
Blogged about this – ChiliYago Jun 15 '11 at 23:38

Looking at steps required to create Custom Logging Service and registering with SharePoint, it can be fairly said that that information is coming from SharePoint farm's configuration database. But the point is, you can have more categories added there and below are the links to get started:


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.