Delayed logging in Semantic Logging Application Block

Topics: Semantic Logging Application Block
Nov 13, 2013 at 11:12 PM
It is normal for the database record to show up seconds to minutes after the EventSource.WriteEvent is called? I would expect it to be instant but it is not.

Matt
Nov 14, 2013 at 3:39 AM
Edited Nov 14, 2013 at 3:40 AM
Yes, that is expected. The SqlDatabaseSink buffers messages. See Buffering Log Messages from Chapter 6 – Logging What You Mean: Using the Semantic Logging Application Block of the Developer's Guide to Microsoft Enterprise Library.

~~
Randy Levy
entlib.support@live.com
Enterprise Library support engineer
Support How-to
Marked as answer by matthewpomar on 1/8/2014 at 7:17 AM