ApplicationInsights-Java icon indicating copy to clipboard operation
ApplicationInsights-Java copied to clipboard

Log Markers to be shown in Application Insight

Open shantanookirtane opened this issue 4 years ago • 7 comments

Capture Log4j Markers and Logback Markers as custom properties on the corresponding trace (log message) telemetry.

shantanookirtane avatar Aug 26 '19 21:08 shantanookirtane

@trask Was this implemented in the Jun 10 milestone? I cannot spot my 'Marker' within 'customDimensions'

LarsWH avatar Aug 21 '20 12:08 LarsWH

@LarsWH We do not currently support log4j and logback marker yet. Could you expand on the June 10th milestone?

MS-jgol avatar Sep 10 '20 18:09 MS-jgol

@MS-jgol The post by @shantanookirtane holds a comment from @trask "...added this to the future milestone on Jun 10...".

So, are you saying that there are no such plans? 'Markers' are very useful, and I am hoping they will be usable in the near future.

LarsWH avatar Sep 21 '20 10:09 LarsWH

I just realized that 'Jun 10' is the day of the comment - not the 'future' milestone. It would still be good to know when that might become available.

LarsWH avatar Sep 21 '20 11:09 LarsWH

Hi @trask,

Are we still looking into the above feature request? It could be a great addition in managing the logs via Azure Application Insights.

Let me know what you think?

jain-chinmay avatar Sep 28 '22 07:09 jain-chinmay

Hi @jain-chinmay, We are working on it. The feature should be available in the next release.

jeanbisutti avatar Sep 28 '22 08:09 jeanbisutti

Hi @jeanbisutti,

That is great news. Thank you so much for your prompt response.

jain-chinmay avatar Sep 28 '22 10:09 jain-chinmay

this is released in 3.4.2: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#log-markers-for-logback-and-log4j-2-preview

trask avatar Oct 27 '22 04:10 trask