Writing to a log file

Topics: Logging Application Block
Oct 15, 2012 at 8:52 AM

Hi,

In logging application block - is the actual writing to a log file is done in a different thread? Or is the writing action is serial?

Thanks,

Reut.

Oct 15, 2012 at 1:42 PM

The Logging Application Block is thread-safe but processing is done synchronously.  EntLib VNext is in the planning stages so you can vote for async logging (it's currently the top vote-getter): http://entlib.uservoice.com/forums/89245-enterprise-library-6-0-unity-3-0.

--
Randy Levy
Enterprise Library support engineer
entlib.support@live.com