Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <!-- For more information on using transformations
- see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <diagnostics>
- <appender name="FileLogger" type="Telexis.Diagnostics.FileLogger" xdt:Locator="Match(name)">
- <file value="C:\TSU_LOGS\MonitoringService.log" xdt:Transform="SetAttributes" />
- <rotation value="Date" />
- <loglevel value="Info" />
- <logfields>
- <logfield value="ThreadID" />
- <logfield value="Milliseconds" />
- <logfield value="EventID" />
- </logfields>
- </appender>
- <appender name="DebugLogger" type="Telexis.Diagnostics.FileLogger" xdt:Locator="Match(name)">
- <file value="C:\TSU_LOGS\MonitoringService.debug.log" xdt:Transform="SetAttributes" />
- <rotation value="Date" />
- <loglevel value="Debug" />
- <logfields>
- <logfield value="ThreadID" />
- <logfield value="Milliseconds" />
- <logfield value="EventID" />
- </logfields>
- </appender>
- <appender name="ConsoleLogger" type="Telexis.Diagnostics.ConsoleLogger">
- <loglevel value="Debug" xdt:Transform="SetAttributes" />
- <logfields>
- <logfield value="CallingMethod" xdt:Transform="Insert"/>
- </logfields>
- </appender>
- </diagnostics>
- <SendHeartbeatToFTPConfigurationSection
- FtpHost="localhost"
- FtpPort ="21"
- FtpDirectory="HEARTBEAT"
- FtpUsername="TelexisTestFTP"
- FtpPassword="TELEXIS"
- HBFileLocation="C:\TSU_LOGS\HeartBeat"
- NumberOfRetryAttempts="3"
- RetryAttemptTimeDelay="00:00:05"
- InitialDelay="0:0:10"
- HBFileFtpLocation ="\HEARTBEAT"
- xdt:Transform="SetAttributes"/>
- <HeartbeatCreationConfigurationSection
- HBFileRegex = "HB_[a-zA-Z0-9_]*_[0-9]{14}\.*"
- TimestampFormat ="yyyyMMddHHmmss"
- CreateFilePeriod ="1"
- xdt:Transform="SetAttributes"/>
- <MonitoringLog MonitoringDatabaseLocation = "C:\TSU_LOGS\MonitoringData.db"
- xdt:Transform="SetAttributes"/>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement