I use Enterprise Library 3.1 to register exceptions for some web applications. All exceptions must be written to a single XML file (say Errors.xml) on the same server on which the application is running. A problem that sometime in addition to Errors.xmlI see files with names like this: 7b53e14b-4b92-43b5-94a0-09666f1c8c4c**ServerName**.xmlwhere ServerNameis the server name. These files are usually small (50kb), but some are 500kb in size. The code that writes the exception to the log is as follows:
...
SyncLock threadlock
ExceptionPolicy.HandleException(ex, "Global Policy")
End SyncLock
...
I cannot understand why all these strange files were created. Can anyone help with this?
source
share