Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
  2. <listeners>
  3. <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"
  4. listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  5. fileName="C:inserver6LogIDCRMLog.log" formatter="Text Formatter"
  6. rollFileExistsBehavior="Increment" rollInterval="Day" rollSizeKB="1000"
  7. traceOutputOptions="ThreadId, Callstack" />
  8. </listeners>
  9. <formatters>
  10. <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  11. template="Timestamp: {timestamp}{newline}&#xA;Message: {message}{newline}&#xA;Category: {category}{newline}&#xA;Priority: {priority}{newline}&#xA;EventId: {eventid}{newline}&#xA;Title: {title} {newline}&#xA;ProcessId: {localProcessId}{newline}&#xA;Process Name: {localProcessName}{newline}&#xA;Extended Properties: {dictionary({key} - {value}{newline})}"
  12. name="Text Formatter" />
  13. </formatters>
  14. <categorySources>
  15. <add switchValue="Error" name="General">
  16. <listeners>
  17. <add name="Rolling Flat File Trace Listener" />
  18. </listeners>
  19. </add>
  20. </categorySources>
  21. <specialSources>
  22. <allEvents switchValue="All" name="All Events" />
  23. <notProcessed switchValue="All" name="Unprocessed Category" />
  24. <errors switchValue="All" name="Logging Errors & Warnings">
  25. <listeners>
  26. <add name="Rolling Flat File Trace Listener" />
  27. </listeners>
  28. </errors>
  29. </specialSources>
  30. </loggingConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement