Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
/ ServerCommon Public archive

Upgrade Serilog and ensure logging is formatted as Traces #327

Merged
merged 1 commit into from
Dec 23, 2019

Conversation

xavierdecoster
Copy link
Member

No description provided.

loggerConfiguration = loggerConfiguration.WriteTo.ApplicationInsights(
telemetryConfiguration,
telemetryConfiguration,
TelemetryConverter.Traces,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agr this may be the cause of logs to be sent as customEvents instead of traces. Tracked it down to ILogger messages only being subject to that weirdness, which are set up using Serilog here.

Copy link
Contributor

@skofman1 skofman1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@xavierdecoster xavierdecoster merged commit 14bc609 into master Dec 23, 2019
@xavierdecoster xavierdecoster deleted the dev-serilog branch December 23, 2019 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants