Open jamesmundy opened 1 day ago
@jviau is this something you're familiar with?
@jamesmundy is this for dotnet isolated? The category of Host.Function.Console
looks like an in-proc category.
In dotnet isolated we do not own the logging SDK. Any issues with log categories not being present when using app insights SDK should be asked to that team: https://github.com/microsoft/ApplicationInsights-dotnet
I am wanting to log some custom properties to my ILogger logs (Application Insights Traces) however whatever I add is never present in the Application Insights logs and no customDimensions are saved.
My Program.cs:
The packages I'm using
My code using
BeginScope
to record the variables:Investigative information
Please provide the following:
Repro steps
Use the code above
Expected behavior
the variable "traceType" should be present in the customDimensions.
Actual behavior
The customDimensions are like this: {"ProcessId":"4224","HostInstanceId":"51952c6f-638d-4f8f-a4c3-b59d06b6b4c4","prop__{OriginalFormat}":"[ManageMachineNumbersAsync]: Running: 1 Creating: 0 Required: 1","LogLevel":"Information","Category":"Host.Function.Console"}