I have 2 different .NET Framework DLLs until earlier this year I never had to use both DLLs in the same solution. The one DLL handles Tracking Packages(TRKStuff.DLL) the other handles printing of specific documents(DOCSReprint.DLL).
Both are installed via their own .NET Framework .MSI installer. Both are called via VBA application.
When I use either of them independently no issues, logging goes to desired logfile for the DLL. TRKStuff.DLL writes to TRKing.LOG and DOCSReprint.DLL to DOCS.LOG.
The problem is when I have both DLLS in the same solution. If I initialize the TryStuff.DLL first Log events all write to TRKing.LOG but when I initialize DOCSReprint.DLL later all events from both DLLs log to DOCS.LOG.
Is there a way to ensure when logging within DOCSReprint.DLL to only go to DOCS.LOG and logging in TrkStuff.DLL those events go to TRKing.LOG?