Kentico 13 Logging to Application Insights

Matthew Butler asked on July 21, 2022 11:36

Hi,

What is the correct approach to logging in the .net core CD site if you want to log to both the eventlogger and application insights?

Correct Answer

Brian McKeiver answered on July 24, 2022 04:11

It's a little old, but the technique still applies. Check out the bottom of this post I made: https://www.mcbeev.com/application-insights-for-kentico

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on July 22, 2022 06:19

Have you checked out the MS documentation? You should be able to do both without issue but I've not physically done it yet.

0 votesVote for this answer Mark as a Correct answer

Matthew Butler answered on July 25, 2022 18:50

Not quite what I was expecting, but it works.

I was expecting an EventLogger implementation on ILogger or as App insight logger for use in Eventlogger

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.