Record WIS logging settings
Describes how to record Windows Integration Service logging settings in Optimizely Configured Commerce.
Below are the settings as they should appear in the default Log4Net Windows Integration Service (WIS) installs:
<log4net>
<appender name="file" type="log4net.Appender.RollingFileAppender">
<file value="logfile.txt" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<countDirection value="1" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
</layout>
</appender>
<root> <!-- Options are "ALL", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" and "OFF". -->
<level value="INFO" />
<appender-ref ref="file" />
</root>
</log4net>
Updated over 1 year ago