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 found this post but at the end it suggests making changes to the registry which scares me a little bit. Is there a better way to do this? Is modifying the registry in this case "normal"?

share|improve this question
up vote 2 down vote accepted

I think you cannot avoid the change in registry because.. Along with ULS logs the SharePoint also puts an entry into an event log. You can see your custom category into an event log also. And Windows stores Event Log categories in Registry.

A better way to do is to register it along with your FEATURE as documented here:

share|improve this answer
Note that the registry bit only needs to be done on Least Privilege configured systems. Some systems are set up that way, so it's good practice, but possibly not necessary on non-least privilege systems. And, in fact, as your calls to your Diagnostic Logging service are from OWSTIMER.exe (as it's a timer job) you might be able to get away without worrying about it ever. OWSTIMER is highly privileged. Still, the link above is the 'right' way to do it. – Andy Burns Jun 16 '11 at 8:58

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.