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 3 Current »

The module will log into a different logfile then the default one in Episerver. Out of box we have added our own log4net configuration. Which will log to a file called Digizuite.log. The configuration looks like this:

<?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="All" />
    <appender-ref ref="digizuiteFileLogAppender" />
  </logger>
</log4net>
  • No labels