home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!--
- HOW TO USE THIS CONFIGURATION FILE
-
- Uncomment ONE of the <exceptionManagement> elements below to
- test that particular scenario.
-
- Without any configuration settings, ExceptionManager will publish using
- the Default publisher.
-
- When setting logname and application name explicitly, please refer to the Deployment Guide for more information.
-
- Publisher Elements Quick Reference:
-
- -mode. If omitted, this attribute defaults to "on". Explicitly setting this attribute to "off" disables the publisher.
-
- -assembly. The name of the assembly containing the publisher class. This is used to instantiate the publisher,
- and is therefore a mandatory attribute.
-
- -type. This is the type name of the publisher class, and is used together with the assembly attribute to instantiate
- the publisher. This attribute is mandatory.
-
- -exclude. This attribute is used to specify a semicolon delimited list of exception types that should not be published
- by this publisher. You can use the asterisk (*) wildcard character to exclude all exception types.
- Only the type of the outermost exception is evaluated.
-
- -include. This attribute is used to force a particular exception type to be published, even if the exclude attribute
- is set to *.
-
- -exceptionFormat. If this attribute is set to xml, then the exception is streamed to XML, and published using the publisherΓÇÖs
- IExceptionXmlPublisher interface. Otherwise, the exception is published using the publisher's IExceptionPublisher interface.
-
- -Other custom attributes. You can add your own custom attributes, which are passed to your custom publishers by the
- ExceptionManager class. This allows developers to write custom logic in the publisher to examine these attributes and take appropriate action.
-
-
- -->
- <configuration>
- <configSections>
- <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" />
- </configSections>
- <exceptionManagement mode="on">
- <publisher assembly="XMLQuikBuilder" type="XMLQuikBuilder.NBGExceptionPublisher" exclude="System.Xml.XPath.XPathException" include="*" exceptionFormat="xml" fileName="DebugLog.xml" />
- </exceptionManagement>
- </configuration>
-