Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

DXC-S and custom logger factory


Did anyone manage to override episerver:LoggerFactoryType in DXC-S?

I've registered a custom logger factory in the appSetting section of web.config and web.preproduction.config, but when I inspect ConfigurationManager.AppSettings in DXC-S, I still see EPiServer.Logging.TraceLoggerFactory, EPiServer.Framework.

Aug 29, 2018 12:59

Managed Services needs to remove that setting from Azure Portal

Aug 29, 2018 13:26

IIRC DXC-S will forcibly change the configuration to use trace logging to make logs available to epi for troubleshooting etc.

Aug 29, 2018 13:27

We've created a custom logger that writes to both Diagnostics Trace and Application Insights. But we couldn't register a custom logger factory because, as you said, Managed Services have added that Application Setting in Azure Portal.
So we created a support ticket to have it removed from all three environments, and it works fine now :)

Aug 29, 2018 13:40
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.