Writing to log file from logging app block and exception app block

Topics: Exception Handling Application Block
Jan 7, 2007 at 6:12 AM
I decalred a Log category which writes to a file, and an exception policy which includes logging handler that uses this category.

When using this category both from logger.write and from ExceptionPolicy.HandleException, each one writes the message to a deferent file:
The first writes the message to the rightfile and the second creates a file in the correct name+guid (each execution creates a new file with a new guid).

Can both logger.write and ExceptionPolicy.HandleException write to the same file ?
Sep 4, 2012 at 9:00 AM


Though it's and old thread, have  you found the solution for this issue ?

Sep 5, 2012 at 1:34 AM

Using Enterprise Library 5 Optional Update 1 (version 5.0.505.0), I do not observe the above behavior.  the exception handling and logger entries are both written to the same file.

Randy Levy
Enterprise Library support engineer