Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The module will log to another log file than the one Episerver logs to by default. Out of the box, we have added our own log4net configuration, which logs to a file named Digizuite.log. Its configuration looks like the following:

<?xml version="1.0" encoding="utf-8"?>
<log4net>
  <appender name="digizuiteFileLogAppender" type="log4net.Appender.RollingFileAppender" >
    <file value="App_Data\Digizuite.log" />
    <encoding value="utf-8" />
    <staticLogFileName value="true"/>
    <datePattern value=".yyyyMMdd.'log'" />
    <rollingStyle value="Date" />
    <appendToFile value="true" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date [%thread] %level %message%n" />
    </layout>
  </appender>

  <logger name="Digizuite.Episerver.Helpers.Internal.Logger">
    <level value="Error" />
    <appender-ref ref="digizuiteFileLogAppender" />
  </logger>
</log4net>
  • No labels