Files
2016-07-27 00:32:34 -04:00

128 lines
9.2 KiB
XML

<?xml version="1.0"?>
<configuration>
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
<section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<connectionStrings configSource="User.Local.Config">
</connectionStrings>
<loggingConfiguration name="Logging Application Block" tracingEnabled="true"
defaultCategory="Default Category" logWarningsWhenNoCategoriesMatch="false">
<listeners>
<add name="Event Log Destination" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
source="McKesson Fusion Application" formatter="Default Formatter"
log="" machineName="." traceOutputOptions="None" filter="All" />
<add name="Flat File Destination" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
fileName="trace.log" header="" footer="" formatter="" traceOutputOptions="None"
filter="All" />
<add databaseInstanceName="Logging"
writeLogStoredProcName="WriteLog"
addCategoryStoredProcName="AddCategory"
formatter="Default Formatter"
listenerDataType="Business.Common.ExceptionHandling.FormattedDatabaseTraceListenerData, Business.Common.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
traceOutputOptions="None"
type="Business.Common.ExceptionHandling.FormattedDatabaseTraceListener, Business.Common.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
name="Database Trace Listener" />
</listeners>
<formatters>
<add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
template="Timestamp: {timestamp}&#xD;&#xA;Message: {message}&#xD;&#xA;Category: {category}&#xD;&#xA;Priority: {priority}&#xD;&#xA;EventId: {eventid}&#xD;&#xA;Severity: {severity}&#xD;&#xA;Title:{title}&#xD;&#xA;Machine: {machine}&#xD;&#xA;Application Domain: {appDomain}&#xD;&#xA;Process Id: {processId}&#xD;&#xA;Process Name: {processName}&#xD;&#xA;Win32 Thread Id: {win32ThreadId}&#xD;&#xA;Thread Name: {threadName}&#xD;&#xA;Extended Properties: {dictionary({key} - {value}&#xD;&#xA;)}"
name="Default Formatter" />
<add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
template="Timestamp: {timestamp}{newline}&#xA;Message: {message}{newline}&#xA;Category: {category}{newline}&#xA;Priority: {priority}{newline}&#xA;EventId: {eventid}{newline}&#xA;Severity: {severity}{newline}&#xA;Title:{title}{newline}&#xA;Machine: {localMachine}{newline}&#xA;App Domain: {localAppDomain}{newline}&#xA;ProcessId: {localProcessId}{newline}&#xA;Process Name: {localProcessName}{newline}&#xA;Thread Name: {threadName}{newline}&#xA;Win32 ThreadId:{win32ThreadId}{newline}&#xA;Extended Properties: {dictionary({key} - {value}{newline})}"
name="Text Formatter" />
</formatters>
<logFilters>
<add type="Microsoft.Practices.EnterpriseLibrary.Logging.Filters.CategoryFilter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
categoryFilterMode="AllowAllExceptDenied" name="Category" />
<add type="Microsoft.Practices.EnterpriseLibrary.Logging.Filters.PriorityFilter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
minimumPriority="0" maximumPriority="2147483647" name="Priority" />
</logFilters>
<categorySources>
<add switchValue="All" name="Default Category">
<listeners>
<add name="Event Log Destination" />
</listeners>
</add>
<add switchValue="All" name="Tracing">
<listeners>
<add name="Flat File Destination" />
</listeners>
</add>
<add switchValue="All" name="McKesson Fusion Category">
<listeners>
<!--<add name="Event Log Destination" /> -->
<add name="Event Log Destination"/>
</listeners>
</add>
<add switchValue="Error" name="McKesson Fusion Server Tracing Category">
<listeners>
<add name="Event Log Destination" />
</listeners>
</add>
<add switchValue="All" name="McKesson Fusion Client Tracing Category">
<listeners>
<add name="Event Log Destination" />
</listeners>
</add>
</categorySources>
<specialSources>
<allEvents switchValue="All" name="All Events" />
<notProcessed switchValue="All" name="Unprocessed Category" />
<errors switchValue="All" name="Logging Errors &amp; Warnings" />
</specialSources>
</loggingConfiguration>
<exceptionHandling>
<exceptionPolicies>
<add name="BO Policy">
<exceptionTypes>
<add name="All Exceptions" type="System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
postHandlingAction="NotifyRethrow">
<exceptionHandlers>
<add name="Logging Exception Handler" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
logCategory="McKesson Fusion Category" eventId="100" severity="Error"
title="FUSION BO General Exception" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling"
priority="0" />
<add name="Replace Handler" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ReplaceHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
exceptionMessageResourceName="BO_Exception" exceptionMessageResourceType="Mckesson.PPS.Fusion.Business.Common.ExceptionHandling.Errors, Business.Common.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
replaceExceptionType="Mckesson.PPS.Fusion.Business.Common.ExceptionHandling.BusinessException, Business.Common.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
</exceptionHandlers>
</add>
<add name="ValidationException" type="Mckesson.PPS.Fusion.Business.Common.ExceptionHandling.ValidationException, Business.Common.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
postHandlingAction="NotifyRethrow" />
</exceptionTypes>
</add>
<add name="CSLA Client Policy">
<exceptionTypes>
<add name="All Exceptions" type="System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
postHandlingAction="None">
<exceptionHandlers>
<add name="Logging Exception Handler" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
logCategory="McKesson Fusion Category" eventId="100" severity="Error"
title="FUSION Client General Exception" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling"
priority="0" />
</exceptionHandlers>
</add>
</exceptionTypes>
</add>
</exceptionPolicies>
</exceptionHandling>
<system.web>
<roleManager defaultProvider="FusionRoleProvider" enabled="true">
<providers>
<clear />
<add name="FusionRoleProvider" type="McKesson.PPS.Fusion.Business.Common.Security.FusionRoleProvider, Business.Common.Security" />
</providers>
</roleManager>
</system.web>
</configuration>