Initial Commit
This commit is contained in:
127
TomcatServer/PlutoServer.PracticeChoice/app.config
Normal file
127
TomcatServer/PlutoServer.PracticeChoice/app.config
Normal file
@@ -0,0 +1,127 @@
|
||||
<?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}
Message: {message}
Category: {category}
Priority: {priority}
EventId: {eventid}
Severity: {severity}
Title:{title}
Machine: {machine}
Application Domain: {appDomain}
Process Id: {processId}
Process Name: {processName}
Win32 Thread Id: {win32ThreadId}
Thread Name: {threadName}
Extended Properties: {dictionary({key} - {value}
)}"
|
||||
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}
Message: {message}{newline}
Category: {category}{newline}
Priority: {priority}{newline}
EventId: {eventid}{newline}
Severity: {severity}{newline}
Title:{title}{newline}
Machine: {localMachine}{newline}
App Domain: {localAppDomain}{newline}
ProcessId: {localProcessId}{newline}
Process Name: {localProcessName}{newline}
Thread Name: {threadName}{newline}
Win32 ThreadId:{win32ThreadId}{newline}
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 & 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>
|
||||
Reference in New Issue
Block a user