11 reputation
12
bio website
location
age
visits member for 2 years, 8 months
seen Oct 25 '12 at 22:10

Jun
6
awarded  Notable Question
Nov
1
awarded  Popular Question
Feb
24
comment ULS is not logging from web app
-- thanks to everyone who tried to help out here -- just to put this to rest, it turns out the problem was in a custom Autofac module (the SharePoint IoC container we are using) with a bad logging implementation which was locking up the SPDiagnosticsService. We fixed the implementation and everything is a go now ...
Feb
7
awarded  Student
Feb
7
comment ULS is not logging from web app
Thanks for getting back on this. The code I pasted works in other environments, just not the one I'm debugging now. For example, to get back to your point, if I use an existing area and category, it still doesn't work from the web app (does work in the console and/or linqpad). For example: var category = SPDiagnosticsService.Local.Areas["SharePoint Foundation"].Categories["General"]; SPDiagnosticsService.Local.WriteTrace(1234, category, TraceSeverity.High, "Exception occured: {0}", new object[] { "NOT!" }); It most likely has to be an infrastructure thing.
Feb
7
asked ULS is not logging from web app