Hi there, I realize I am reviving an old thread but I desperately need help.
I am using Enterprise Library 5.0 for logging and like others I have created my own custom trace listener.... but it is not what you call a CustomTraceListener. My listener extends FormattedTraceListenerBase with a listener data class which extends
FormattedDatabaseTraceListenerData. The code is exactly the same as the DatabaseTraceListener except it has a different name.
Now when I add a logging target listener in the configuration tool I would not add my listener through the custom trace listener (like the original poster), instead I would expect it to appear in the list of listeners. THIS IS THE PROBLEM.
If I put my class in a custom assembly of mine it does not appear in the list of trace listeners. However, if I put the class in Enterprise Library's code and rebuild it, the trace listener appears in the list. However, we do not want to alter
any of the Enterprise Library code therefore we want to keep it in our own assembly.
I can find no documentation around this or even anything on the internet. This post is the closest thing but unfortunately does not address my scenario. Please help!!!!!
Extra info: My custom DLL was dropped into the same location as the Enterprise Library config tool's exe location along with all the other DLLs.