Quantcast
Channel: Log in a file only if the database fails? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Julian for Log in a file only if the database fails?

Yes, you could use the FallbackGroup target for that. In the fallback group you should configure the database and file target. e.g.<target xsi:type="FallbackGroup" name="all"...

View Article


Log in a file only if the database fails?

I have a scenario where I want to log in a file only if the database fails for some reason.Is it possible to achieve that using NLog ?

View Article

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>