A co-worker had told me that he thought it was possible to store/access log4net’s config file in a database rather than a standard config file. If it’s possible, how would you go about doing this? Google search seems to be failing me.
A co-worker had told me that he thought it was possible to store/access log4net’s
Share
You could store the configuration xml file in a database row and feed this as
XmlElementto theXmlConfigurator.Configure();method. This is pretty straight-forward and you do not loose any configuration features that log4net offers. Two things to consider: