COM+ Logging Services
We're building a COM 1.0+ application using VC++ .NET. The app has a database that will allows us to view most activity on the system, but we still would like to have a discreet logging mechanism to help us keep track of a few things that we won't store in our database (e.g. errors in communicating with the database). What we're looking for are recommendations on simplifying our logging needs.
I know COM+ has its own logging mechanisms built in, though I'm not sure if we can (or should) expand on this to add our custom logging.
We have used the EventLog Class in a separate C# windows service application and really appreciated the ease with which we could handle logging. Is there a similiar set of classes accessible via C++ that can be utilized in a COM+ application? Should we create a "from scratch" mechanism that is specific to our needs and store that in a regular COM dll that can be accessed from both managed and unmanaged code applications? I'd like to use the windows event log to make life simpler for our support staff to troubleshoot. However, the real goal is to find the right balance of reusability and simplicity.
Any recommendations are greatly appreciated.