Troubleshooting SharePoint logging
Both the Event Log and the ULS log are invaluable sources of information when monitoring or debugging your SharePoint solution. Sometimes logging doesn't work. In my experience these are the most frequent reasons:
The log disk is full.
The application pool account of your web application is not a member of the "Performance Log Users" group on ALL servers in the farms.
For being able to create custom event logs from an event receiver, the timer service account needs write permissions to the following key in registry:
If you are just starting to implement logging in your application, a few tips may help you on the way: