DEV Community

Matt Ellen
Matt Ellen

Posted on

How can I get XDT to recognise NLOG section?

I am somewhat stuck trying to get the configuration file to change depending on the build (release vs debug).

Has anyone else solved this issue?

I am trying to get the release web.config to have a different logging path than the debug one.

I have managed to use the transform function on the appSettings section successfully, but the nlog configuration is being ignored.

This is the base web.config:

<?xml version="1.0" encoding="utf-8"?&gt
<configuration>
  <configSections>
    <section name="nlog"

Top comments (0)