November Happy Hour will be moved to Thursday December 5th.

Does EpiServer CMS support logging custom data to a centralized location?

Vote:
 

Does Optimizely have something built in that I could call to log some data without having to build my own system that logs to a custom database/blob storage?

#305736
Jul 26, 2023 17:32
Vote:
 

Hey, 

If you are using CMS 12 and above in DXP environment logging will be setup and configured for application insights.

See https://docs.developers.optimizely.com/digital-experience-platform/docs/application-performance-management

Thanks

Paul

#305737
Jul 26, 2023 19:34
Vote:
 

As with many subsystems in CMS, logging can be done by custom provider that logs to wherever you like. You can create a provider that log to a custom database Write log messages (optimizely.com) 

#305740
Jul 26, 2023 21:28
Vote:
 

Hi

If you use either the classic Episerver.Logger or the new Microsoft.Extensions.Logging, then you are logging the same way as the platform. And then you are free to configure where the logs should go.

For DXP you are contractually bound to have those logs sent to Application Insights. For other hosting models you can use whatever you want. Like log4net, Serilog (to text files, database, New Relic, Syslog, etc), Splunk or something else.

So there is no built-in way to do this. But no restrictions either.

#305792
Jul 27, 2023 16:48
* 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.