© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
22 replies
Denis

✅ Setting up centralized logging for desktop apps

I wish to setup centralized logging using OpenTelemetry.
I'm lost on exporting structured logs from a desktop application.

I have a .NET Server managing database access that exposes gRPC endpoints for clients.
I have .NET desktop Clients (specifically WPF, but this should be irrelevant) that connect to the server via gRPC.
The server and clients shall be installed on-premises; serving these as a cloud SaaS is a future prospect.

I've managed to setup opentelemetry logging for my WPF client; however, I'm clueless as to where and how I should export the collected data.

From my understanding, logs from both the server and clients should be exported to a third service specifically for handling logs. Is this a good approach?

My initial idea was to send logs from clients to the server and then have the server handle the dirty work.
It stemmed from the fact that most guides on setting up OT are for ASP.NET Core applications, that just add an endpoint for sending the collected logs and traces.

To what "system" or service should I export my logs to?
I wish to keep it small and simple, handling around 20 clients and a server and storing logs and metrics for 30 days.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Setting up WPF logging to OTLP collector
C#CC# / help
2y ago
❔ Any good open source .NET centralized logging solutions?
C#CC# / help
4y ago
❔ how to make apps?(desktop)
C#CC# / help
3y ago
Setting up netcoredbg for NeoVim
C#CC# / help
5mo ago