Strange-Named Log Files (Corporate Library)

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 // static variable
    ExceptionPolicy.HandleException(ex, "Global Policy")
End SyncLock
...

I cannot understand why all these strange files were created. Can anyone help with this?

+3
source share
1 answer

http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=29005, . fsimonazzi:

" GUID, , . , factory GUID, , ."

, , , , -.

+5

Source: https://habr.com/ru/post/1719816/


All Articles