I have created a Logging component on top of entlib 5.0 logging application block and all the logging configuration is being done using Fluent inside the code so user need not to provide their configuration or need not to add configuration section required
for Logging application block.
I am doing following.
a> Create listneres
b> Create the LogWriter from container
c> Provide the LogWriter object to caller so that they can invoke log methods for categegory which are configured in step a
Now I have got one scenario where the client application already got Logging configuration (loggingConfiguration) provided by entlib and they are loading their logwriter through app.config data and same time when they using our Logging component , our
LogWriter ovverrides their configuration which creates problem..
My question , is there any way where I can attach trace listners to the already created LogWriter..so that both app.config section and Fluent config will work together..
Please let me know for any more data required to analyze the issue.