Try our conversational search powered by Generative AI!

Packages [expand] [collapse]
Released in version
2.2.2
2.2.1
2.2.0
2.1.0
2.0.0
1.1.0
1.0.0
0.1.0

Release notes for Optimizely CMS and Customized Commerce updates

This topic lists Optimizely updates, delivered as NuGet packages and services. You decide which updates apply to your project.

Select a product, package, or service in the left menu, and then select one of the following filters from Item type and click Filter.

  • Bug – Display bug fixes.
  • Critical bug – Display only critical bug fixes.
  • Feature –  Display only new features (all features).
  • UI Feature – Display only end-user (user interface) features.

Note: NuGet packages listed here may not be immediately available in the Optimizely NuGet feed.

Latest changes

Item type
Filter on date
Items/Page
Area ID Type Description Released
CMS-9761
  Log4Net logging stops working in Release mode

All log4net logging stops working when running in release mode. Only affects EPiServer.Logging.Log4Net v2.2.1

Workaround
Add the following AppSettings to the web.config.

<appSettings>
    <add key="log4net.Config" value="EPiServerLog.config"/>
    <add key="log4net.Config.Watch" value="True"/>
</appSettings>

Reported through
https://swapcode.wordpress.com/2018/02/16/no-logs-after-upgrading-episerver-logging/

EPiServer.Logging.Log4Net 2.2.2; (Or a related package);
Feb 19, 2018
CMS-9555
  Initialization module using log4net directly disables logging
  1. Add the following intialization module:

        [InitializableModule]
        public class AA : IInitializableModule
        {
            private static readonly log4net.ILog _log = log4net.LogManager.GetLogger("test");
     
            public void Initialize(InitializationEngine context)
            {}
     
            public void Uninitialize(InitializationEngine context)
            {}
        }
    

EXPECTED: Logging works
ACTUAL: Logging stops working

Note: Sometimes for this bug fix to take affect you have to clear "Temporary ASP.NET Files", ie C:\Windows\Microsoft.Net\Framework64\v4.0.30319\Temporary ASP.NET Files\

WORKAROUND: An easy fix is to use namespace EPiServer.Logging.Compatiblity instead of log4net, to make sure log4net can be safely initialized from CMS instead from a custom initialization module.

EPiServer.Logging.Log4Net 2.2.1; (Or a related package);
Feb 01, 2018