Fallback if log (i. e. to target "database") was not possible

6 views
Skip to first unread message

Ma Zi

unread,
Jul 12, 2016, 6:39:22 AM7/12/16
to NLog-Users
Hi,

I'm wondering if there is a way to replicate log-entries if it was not possible to write them immediately.
For example: Consider nlog is configured to into target database-table, which is working fine, usually. But for some reason the DB goes down und comes up, let's say 1h later, whilst 500 log-entries were being created that couldn't be written. Is it possible to define a fallback-log in nlog which stores these temporary unwriteable entries and then, later, if the DB is accessible again, replicates them back into the DB-target?

THX!
Reply all
Reply to author
Forward
0 new messages