Using a single Logging Application Block with 2 processes

Topics: Building and extending application blocks, Logging Application Block
Dec 18, 2008 at 11:51 PM
I am trying to log to a single flat file using Logging Application Block with two processes writing simultaneously. The process that starts second creates a new file by appending some GUID to it -- I am assuming that there is a FileShare.None set when the filestream is open for writing. What are the possible workarounds to allow two processes writing to a single file in an interlaced fashion? I prefer not to use a mutex since this will probably slow down logging too much... Thanks!

Dec 19, 2008 at 1:52 AM
Edited Dec 19, 2008 at 2:07 AM
Check out this threads...

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.