I'm new to the Enterprise Library and have a requirement to use the Logging Application Block for a project I'm working on. I've been able to set it up to log out to the EventLog - but the log entries appearing there are missing key bits of data.
In Event Viewer, the catagory and user fields are always unpopulated. I can place catagory and user infomation into the log, but these only appear in the event's description field.
I believe I need to extend the logging application block and provide my own Custom Trace Listener - one that calls EventLog.WriteEntry() which more parameters that the default Listener.
Can someone please provide some pointers as to how to do this?
(I'm using the EntLib 4.1 release if it helps)