Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- For more information on using transformations
  3. see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
  4. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  5. <diagnostics>
  6. <appender name="FileLogger" type="Telexis.Diagnostics.FileLogger" xdt:Locator="Match(name)">
  7. <file value="C:\TSU_LOGS\MonitoringService.log" xdt:Transform="SetAttributes" />
  8. <rotation value="Date" />
  9. <loglevel value="Info" />
  10. <logfields>
  11. <logfield value="ThreadID" />
  12. <logfield value="Milliseconds" />
  13. <logfield value="EventID" />
  14. </logfields>
  15. </appender>
  16. <appender name="DebugLogger" type="Telexis.Diagnostics.FileLogger" xdt:Locator="Match(name)">
  17. <file value="C:\TSU_LOGS\MonitoringService.debug.log" xdt:Transform="SetAttributes" />
  18. <rotation value="Date" />
  19. <loglevel value="Debug" />
  20. <logfields>
  21. <logfield value="ThreadID" />
  22. <logfield value="Milliseconds" />
  23. <logfield value="EventID" />
  24. </logfields>
  25. </appender>
  26. <appender name="ConsoleLogger" type="Telexis.Diagnostics.ConsoleLogger">
  27. <loglevel value="Debug" xdt:Transform="SetAttributes" />
  28. <logfields>
  29. <logfield value="CallingMethod" xdt:Transform="Insert"/>
  30. </logfields>
  31. </appender>
  32. </diagnostics>
  33.  
  34. <SendHeartbeatToFTPConfigurationSection
  35. FtpHost="localhost"
  36. FtpPort ="21"
  37. FtpDirectory="HEARTBEAT"
  38. FtpUsername="TelexisTestFTP"
  39. FtpPassword="TELEXIS"
  40. HBFileLocation="C:\TSU_LOGS\HeartBeat"
  41. NumberOfRetryAttempts="3"
  42. RetryAttemptTimeDelay="00:00:05"
  43. InitialDelay="0:0:10"
  44. HBFileFtpLocation ="\HEARTBEAT"
  45. xdt:Transform="SetAttributes"/>
  46.  
  47. <HeartbeatCreationConfigurationSection
  48. HBFileRegex = "HB_[a-zA-Z0-9_]*_[0-9]{14}\.*"
  49. TimestampFormat ="yyyyMMddHHmmss"
  50. CreateFilePeriod ="1"
  51. xdt:Transform="SetAttributes"/>
  52.  
  53. <MonitoringLog MonitoringDatabaseLocation = "C:\TSU_LOGS\MonitoringData.db"
  54. xdt:Transform="SetAttributes"/>
  55. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement