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

  • SEARCH
  • Home
  • 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 420569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:53:22+00:00 2026-05-12T18:53:22+00:00

Something here doesn’t feel right to me here, and so I would like the

  • 0

Something here doesn’t feel right to me here, and so I would like the community’s input – perhaps I am approaching this in the wrong way….

Q: Is is appropriate to use traditional infrastructure logging frameworks (like log4net) to log business events?

When I say business events, I mean I want a global log like this:

xx:xx Customer A purchased widget B.
xx:xx Widget B was dispatched from warehouse.
xx:xx Customer B payment declined.

Most traditional infrastructure logging frameworks have event levels something like this:

FATAL
ERROR
WARN
INFO
DEBUG

An of course these messages don’t fit well into that. Best description would be INFO, but of course these are important events, and INFO is of very low importance.

I would still like this as a ‘log’ (e.g. I don’t want to have to extract this from my business objects each time I want to see it)

Seems to me I have two options:

1) Use a framework like log4net and just define a special logger for this (and live with the fact that it doesn’t feel right).

2) Provide a service for performing this that doesn’t rely on a traditional logging services.

I’m leaning towards 2. What has anyone else done in a similar situations?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 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-12T18:53:23+00:00Added an answer on May 12, 2026 at 6:53 pm

    What you’re wanting sounds like an auditing service, not a logging service. If I’m right, your goals are to keep track of these business events for historical and maybe even reporting purposes. You can use the details in the audit to, for lack of a better phrase, place blame for events that happen in the system.

    I probably wouldn’t use a logging system, like log4j, for this purpose. In our system, auditing is a first class citizen as a full service.

    —
    HTH,
    Dusty

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

Sidebar

Related Questions

Unless I'm missing something here Exists() doesn't exist in WP7? If this is true
I feel like I must be missing something, but the git issues README doesn't
Here's the story... I have a jQuery function that does something, this function is
I guess that I am missing something here. After having found this sample within
Having this code: using (BinaryWriter writer = new BinaryWriter(File.Open(ProjectPath, FileMode.Create))) { //save something here
I'm doing something like this: $printer = %x(lpstat -p | grep -q Eileen &&
I am using grep to detect <a href=xxxx> something here </a> This is not
OK, I now done this three times, Google and search here doesn't seem to
This is my first time using Stack Overflow, so if I've done something wrong
I have the following code: $(#Table1 tbody).children().each(function(e){ $(this).bind('click', function(){ // Do something here },

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.