London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Upgrade is always interesting cases. EPiServer packages are sticked with particular version of dependnecy I guess just because to be "on-safe" side - framework is tested with that version of library and upgrade is explicitly on your own risk.
But I agree - that logging should be unified. I guess that's just a historical heritage.
What we usually are doing is to unify CMS and Commerce logging by specifying that Common.Logging adapter is log4net and config source is EPiServerLog.config (in web.config):
<common>
<logging>
<factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net">
<arg key="configType" value="FILE" />
<arg key="configFile" value="~/EPiServerLog.config" />
</factoryAdapter>
</logging>
</common>
Some questions:
1) Cms uses log4net as logging subsystem. Commerce uses Common.Logging as logging solution. Is it planned to unify this and end up with single one (Common.Logging I suppose as more generic solution) ?
2) Does it planned to update references in commerce nuget packages packages. Common.Logging < 2.0 dependency looks outdated. Atleast Common.Loggin 2.1 is fully backward compatible with 1.2 version but has usefull features like lambda expression: