Virtual Happy Hour is canceled this month (March) due to Good Friday.
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.Logging.Log4Net 1.0.0
May 21, 2015
Oct 01, 2015
Falcon/CMS/Core
Closed, Fixed and Tested
The location of the logger is wrong when logging using LoggerExtensions or the Compatibility layer.
Instead of the expected type and method from where the log method was called, the location is always "EPiServer.Logging.LoggerExtensions.Log".
This problem is only present if you use %location or %l in the log4net layout pattern.
Workaround: Change %location to %logger. This displays the logger name, which is usually the name of the class where it's used.
Note that log4net documentation recommended against using location in the layout pattern for performance reasons, as it can be "extremely slow". This fix creates a breaking change.