Is there any .NET logging framework that have ability to switch appender if something is wrong with current one. Actually what I want is following:
If I’m using database appender and when something goes wrong with database (e.g. server goes down, lose power…) I want to switch to second appender (e.g. which log into file).
Does this ability have one of following: log4net, NLog, Enterprise Library? I was looking for this but no luck.
Because log4netContribute FallbackAppender is not working as expected I’ve made deep research and found that this ability has nLog. I tested it and it is working like a charm 😉 Here is an example:
[app.config]
[code]