Configuring Logging when the Connector is Installed Locally

Note: If the Connector is installed in a DXC cloud environment, see Configuring Logging in DXC Environments.

In an environment where the Connector is installed locally, you can activate full verbose logging for it. This is useful for identifying errors.

To configure logging:
  1. Append the following to EPiServerLog.config:

<appender name=“lionbridgeFileLogAppender” type=“log4net.Appender.RollingFileAppender” >

<!-- Consider moving the log files to a location outside the web application –>

<file value=“App_Data\LionbridgeErrors.log” />

<encoding value=“utf-8” />

<staticLogFileName value=“true”/>

<datePattern value=".yyyyMMdd.‘log’" />

<rollingStyle value=“Date” />

<threshold value=“Verbose” />

<lockingModel type=“log4net.Appender.FileAppender+MinimalLock” />

<appendToFile value=“true” />

<layout type=“log4net.Layout.PatternLayout”>

<conversionPattern value="%date [%thread] %level %logger: %message%n" />

</layout>

</appender>

  1. Add the following logger:

</logger>

<logger name=“Lionbridge” additivity=“false”>

<level value=“Verbose” />

<appender-ref ref=“lionbridgeFileLogAppender” />

</logger>

The generated log file is: \App_Data\LionbridgeErrors.log.