Not Logging

Topics: Logging Application Block
Aug 15, 2007 at 8:35 PM
Nothing is being logged. Here's the situation:
1. Started logging to FlatFileTraceListener -- no problem
2. Added DatabaseTraceListener -- NO LOGGING to DB, but still to FlatFile
3. Removed all TraceListenerReferences and TraceListeners, then re-added just DB listener -- NO LOGGING
4 Re-added FlatFileTraceListener -- NO LOGGING

There are no exceptions in the EventLog and my test page comes up fine. I also cleared out the Temp ASP.NET files for good measure. A healthy dose of IISRESETs ... nada.

Anything else I can look for?
Aug 15, 2007 at 8:50 PM
BTW, I added the listener references to every source that's set up by default and didn't use any categories when logging. Just a straight Logger.Write with a LogEntry.
Aug 16, 2007 at 12:36 AM
Try adding the Instrumentation node to your configuration and switch on Event Log messages. This may give you more information around what's going wrong.

Tom