title: NLog - FallbackGroup not working as expected
body: <p>I am using Nlog's FallbackGroup wrapper to setup failover logging. In case my first target - "Network" logger fails/errors out, it should log to second target/fallback target "EventLog". But while I am running my console app, I could see that it is only trying to log to the first one and always fails. It is not even trying to log to "EventLog". FYI, the EventLog target works fine in isolation(with out fallback setup). </p>
  
  <p>I have got above mentioned details, by enabling the "InternalLogging" on NLog, which is basically writing all the NLog execution to a file.</p>
  
  <p>Below is my NLog config:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;configuration&gt;
  &lt;configSections&gt;
      &lt;section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/&gt;
  &lt;/configSections&gt;
  &lt;nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" throwExceptions="true"&gt;
      &lt;targets&gt;
          &lt;!-- For logging over network with json layout --&gt;
          &lt;target xsi:type="FallbackGroup" name="XXXFallBackLoggingGroup" returnToFirstOnSuccess="true"&gt;
              &lt;target name="network" xsi:type="Network" address="https://XXXX/api/log"&gt;
                  &lt;layout xsi:type="JsonLayout"&gt;
                      &lt;attribute name="time" layout="${longdate:universalTime=true}" /&gt;
                      &lt;attribute name="level" layout="${level:upperCase=true}"/&gt;
                      &lt;attribute name="message" layout="${message}" /&gt;
                  &lt;/layout&gt;
              &lt;/target&gt;
              &lt;target xsi:type="EventLog" name="eventlog" source="xxxx" layout="${level:upperCase=true}${newline}${longdate:universalTime=true}${newline}${message}${newline}"/&gt;
          &lt;/target&gt;
      &lt;/targets&gt;
      &lt;rules&gt;
          &lt;logger name="*" minlevel="Trace" writeTo="XXXFallBackLoggingGroup" /&gt;
      &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>
  
  <p></p>
  
  <p>This is driving me crazy. I have given many attempts to fix it, but nothing works. Any ideas/suggestions or solutions, please let me know.</p>
  
  <p>Edit:
  I tried to update the names of targets but this too does not work, however as I mentioned earlier both are working in isolation. Another point, in order to test  fallback logging, I have removed my API - the first target, so that it always throws 404 error, but still the NLog is trying to pick the first target always</p>