I am having an issue with log4net. I am working on a service application which I have been developing as a console app with DLL's. The dll's are self contained and the console app just calls a start method on the service to allow me to quickly swap out for a windows service for deployment. (don't have rights to install a service on my dev box but have full admin on the server, its a security nightmare where I work so don't ask).
When starting the console app on the server log4net functions just fine. When starting the windows service I get this error in the log4net log:
log4net: repository [log4net-default-repository] already exists, using repository type [log4net.Repository.Hierarchy.Hierarchy]
no configuration section <common/logging> found - suppressing logging output
I am also using quartz in another part of the project so Common.Logging.dll is in the folder but adding the config sections for Common.Logging to use log4net did not fix the issue. From what I can see the only difference between the console app and service is the output type. Both the console app and the service have the same packages.config whicn only include log4net and the same references which only reference the log4net dll and the main project dll.
Any help tracking down where to look would be greatly appreciated.
EDIT: I am using the same app.config for both the console app and the windows service named the proper program.exe.config.