HomeGuides
Submit Documentation FeedbackJoin Developer CommunityLog In

Recording WIS logging settings

This topic describes how to record WIS logging settings.

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>

Did this page help you?