Skip to content

Use Serilog for logging - #3323

Open
ColinM9991 wants to merge 2 commits into
MobiFlight:mainfrom
ColinM9991:serilog-logging
Open

Use Serilog for logging#3323
ColinM9991 wants to merge 2 commits into
MobiFlight:mainfrom
ColinM9991:serilog-logging

Conversation

@ColinM9991

@ColinM9991 ColinM9991 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Using Serilog for logging. It was originally thought that logging was saturating the thread pool as that too used Task.Run. Offloading to Serilog allows Serilog to handle log events in a more optimised fashion.

Related issues

Addresses some threadpool bound work as part of #3324

Out-of-scope

A full rewrite of logging has not be implemented in this change in order to keep the scope short.

@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@ColinM9991 ColinM9991 closed this Aug 30, 2026
@ColinM9991 ColinM9991 reopened this Aug 31, 2026
@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@ColinM9991 ColinM9991 changed the title Switch to Serilog for logging DRAFT: Improved logging and hanging diagnostics Aug 31, 2026
@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@ColinM9991
ColinM9991 marked this pull request as ready for review August 31, 2026 15:17
@ColinM9991
ColinM9991 requested a review from DocMoebiuz as a code owner August 31, 2026 15:17
@ColinM9991 ColinM9991 changed the title DRAFT: Improved logging and hanging diagnostics Improved logging and threading Aug 31, 2026
@github-actions

Copy link
Copy Markdown

Build for this pull request:
MobiFlightConnector.zip

@ColinM9991 ColinM9991 changed the title Improved logging and threading Use Serilog for logging Aug 31, 2026

@DocMoebiuz DocMoebiuz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Add dependency to our list in the about dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants