↧
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 ArticleLog 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