Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
- <listeners>
- <add name="Rolling Flat File Trace Listener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- fileName="C:inserver6LogIDCRMLog.log" formatter="Text Formatter"
- rollFileExistsBehavior="Increment" rollInterval="Day" rollSizeKB="1000"
- traceOutputOptions="ThreadId, Callstack" />
- </listeners>
- <formatters>
- <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- template="Timestamp: {timestamp}{newline}
Message: {message}{newline}
Category: {category}{newline}
Priority: {priority}{newline}
EventId: {eventid}{newline}
Title: {title} {newline}
ProcessId: {localProcessId}{newline}
Process Name: {localProcessName}{newline}
Extended Properties: {dictionary({key} - {value}{newline})}"
- name="Text Formatter" />
- </formatters>
- <categorySources>
- <add switchValue="Error" name="General">
- <listeners>
- <add name="Rolling Flat File Trace Listener" />
- </listeners>
- </add>
- </categorySources>
- <specialSources>
- <allEvents switchValue="All" name="All Events" />
- <notProcessed switchValue="All" name="Unprocessed Category" />
- <errors switchValue="All" name="Logging Errors & Warnings">
- <listeners>
- <add name="Rolling Flat File Trace Listener" />
- </listeners>
- </errors>
- </specialSources>
- </loggingConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement