Custom source name in the windows event log
Posted on 2008-10-29
I'm using enterprise library's 4.1 Exception & Logging Application Blocks, how can i get a custom source name in the windows event log. When ever i am logging an error in windows event log , it gives the source name as Enterprise Library Logging.If i change the source name the the entry never appears? Any help appreciated!
Just to add some more info, all i'm doing is publishing a caught exception through the exception handling block as follows, where "ErrorPolicy" is the policy i've defined in the Enterprise Library Configuration tool.
If you need further details of the configuration entries then i can publish!