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 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

I have already posted something similar here but I would like to ask the
I may be missing something here because I thought this might be really easy
Now I must be missing something here, as this seems a very basic issue
I have to be missing something obvious here. I don't get why this cast
Here's something I haven't been able to fix, and I've looked everywhere . Perhaps
I'm missing something here: $objSearcher = New-Object System.DirectoryServices.DirectorySearcher $objSearcher.SearchRoot = New-Object System.DirectoryServices.DirectoryEntry $objSearcher.Filter =
I have something here that is really catching me off guard. I have an
I have a mockup layout for something here . Essentially there are sections, columns
Ok, maybe I'm missing something here but I'm looking at various PHP hosting options
I'm probably missing something simple here, but I can't find the answer elsewhere. I

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.