1: <configuration>
2: <configSections>
3: <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" />
4: </configSections>
5: <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
6: <listeners>
7: <add name="Event Log Listener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
8: listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
9: source="SmartSAPConn" formatter="Text Formatter" log="" machineName="."
10: traceOutputOptions="None" />
11: <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
12: listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.SystemDiagnosticsTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
13: formatter="Text Formatter"
14: name="AzureDiagnostics">
15: </add>
16: </listeners>
17: <formatters>
18: <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
19: 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})}"
20: name="Text Formatter" />
21: </formatters>
22: <categorySources>
23: <add switchValue="All" name="General">
24: <listeners>
25: <add name="AzureDiagnostics" />
26: </listeners>
27: </add>
28: </categorySources>
29: <specialSources>
30: <allEvents switchValue="All" name="All Events" />
31: <notProcessed switchValue="All" name="Unprocessed Category" />
32: <errors switchValue="All" name="Logging Errors & Warnings">
33: <listeners>
34: <add name="AzureDiagnostics" />
35: </listeners>
36: </errors>
37: </specialSources>
38: </loggingConfiguration>
39: </configuration>