Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Optimizely 12 on DXP - Logging

Vote:
 

I see blog posts about plugging in additional logging with Optimizely 12, for example with Serilog. Is this supported on a DXP hosted site?

#276074
Mar 10, 2022 22:54
Vote:
 

Can confirm I was able to use Serilog on DXP. If it is officially supported, however, I'm not sure

#276112
Mar 11, 2022 9:37
Ted
Vote:
 

The Foundation project uses Serilog: https://github.com/episerver/Foundation/blob/main/src/Foundation/Program.cs

We have also used it on DXP sites without any (known) problems. 🙂

#276123
Mar 11, 2022 15:15
Vote:
 

Do you think making the log file json (Structure logging) would be an issue? Might just need to test.

#276125
Mar 11, 2022 15:32
Vote:
 

Set it up so that you log to Application Insights. No need to write to log files.

#279406
Apr 28, 2022 16:17
* 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.