I have a suite of applications which all use the enteriprise logging. I would like for each of the applications to have local configuration file which configures a listener so that the name of the rolling log file can be defined.
I would like to have a common logging configuration file which then contains the formatters, logFilters, categorySources, and specialSources.
When I try and split these configurations into 2 configuration files, the code can't seem to find the second configuration.
Does anyone know if this is possible? Any examples of anyone doing this?
This is what I have in my app config which does not work:
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
"Sections must only appear once per config file. See the help topic <location> for exceptions.