Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 363527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:21:03+00:00 2026-05-12T13:21:03+00:00

(Note: I have seen several questions regarding .NET logging frameworks, but haven’t seen any

  • 0

(Note: I have seen several questions regarding .NET logging frameworks, but haven’t seen any which resembles our requirements. So please don’t close this one as a duplicate.)

We will need a logging framework for a highly distributed and parallel .NET application with the following features:

  • It must be thread-safe, as log messages will be produced by many threads.
  • Each log messages will need to have a timestamp. If the framework would add this automatically, that would make it easier.
  • Besides a timestamps, there must at least be a severity/verbosity or something similar to attach to log messages, so that they can be filtered by it. More (orthogonal) predefined parameters (message source, intended audience, message kind, whatever…) to play with would be great.
  • However, we need to add our own parameters anyway. The more these are treated like first-class framework citizens (can do the same with them as with the predefined stuff), the better.
  • The framework should be able to filter messages based on at least the predefined parameters. We need to change filtering at whim during run-time.
  • We need to put objects through this, not strings. Strings might be made from those objects in the end, but log message parameters must not be put into a flat string right from the start.
  • Since some of the logging will be seen by customers, we might have to internationalize them. (Given that we want to log objects, not strings, this whouldn’t be too hard, but the more support the better.)
  • We need to be able to write the log messages left after filtering into files and read those files back in. If the framework has the ability to stream the out and in, we don’t have to implement this ourselves.
  • Each log message might be sent to several targets (file, window, remote machine) at the same time.
  • If log messages have to be sent over the network, it might be necessary to do so in a dedicated thread.
  • The thing will be used from C#.

OK, so we figure that it’s nigh impossible to find something out there that does all of this out of the box. These are just too many requirements, and probably too many uncommon ones.

But is there anything worth to use as a foundation and build our stuff upon?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:21:04+00:00Added an answer on May 12, 2026 at 1:21 pm

    AFAIK log4net does almost all of these. It’s mainly verbosity-level based for filtering, and though you can use Filters to filter using alternative criteria they’re not necessarily “first-class citizens”.

    Also, re. “reading the files back in” – I presume you don’t expect the logging framework to support this directly. Files are files, after all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.