Optimizely 12 on DXP - Logging


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

Mar 10, 2022 22:54

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

Mar 11, 2022 9:37

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. 🙂

Mar 11, 2022 15:15

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

Mar 11, 2022 15:32

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

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.