Try our conversational search powered by Generative AI!

DXC-S and custom logger factory

Vote:
 

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.

#196395
Aug 29, 2018 12:59
Vote:
 

Managed Services needs to remove that setting from Azure Portal

#196396
Aug 29, 2018 13:26
Vote:
 

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

#196397
Aug 29, 2018 13:27
Vote:
 

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 :)

#196398
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.