Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

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:

<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" />
<root>       <!-- Options are "ALL", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" and "OFF". -->
  <level value="INFO" />
  <appender-ref ref="file" />