Log4Net with WCF acting as a service

I am starting the WCF service as a Windows service. I'm having trouble getting log4net for actual logging

In which app.config should I put my configuration code for log4net.

The service host app.config of the service app.config or the underlying methods that calls the service?

-b

+5
source share
1 answer

I had design issues when I wrote my own journal system. The app.config application to build the dll does not load. The executable file for your application / service / etc. this is what loads and ignores dll configuration. You will either have to implement your own code to read / write / load / etc or just set all the configuration values ​​to the app.config service (much better if possible).

+1
source

All Articles