mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
b9267e00a2
Log will be located at ${PROGRAMDATA}/Citrix/XenServerHealthCheck/logs/XenServerHealthCheck.log Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
26 lines
1.0 KiB
XML
Executable File
26 lines
1.0 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<configuration>
|
|
<configSections>
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
|
|
</configSections>
|
|
<appSettings>
|
|
<add key="log4net.Config" value="Log4Net.config" />
|
|
</appSettings>
|
|
<log4net>
|
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
<file value="${PROGRAMDATA}/Citrix/XenServerHealthCheck/logs/XenServerHealthCheck.log"/>
|
|
<appendToFile value="true"/>
|
|
<maxSizeRollBackups value="5"/>
|
|
<maximumFileSize value="10MB"/>
|
|
<rollingStyle value="Size"/>
|
|
<staticLogFileName value="true"/>
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="%date %-5level %logger [%thread] - %message%newline"/>
|
|
</layout>
|
|
</appender>
|
|
<root>
|
|
<level value="ALL" />
|
|
<appender-ref ref="RollingLogFileAppender" />
|
|
</root>
|
|
</log4net>
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> |