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 229897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:48:15+00:00 2026-05-11T19:48:15+00:00

I can wire up Elmah to log Exceptions in my ASP.Net application and it

  • 0

I can wire up Elmah to log Exceptions in my ASP.Net application and it works well.

I also have a requirement to audit interesting events that occur in the application. For example, I must audit the “email address was changed” event and store the old and new email address.

Is it appropriate to use Elmah to log these interesting events? It doesn’t seem like Elmah is configured to log anything beyond exceptions.

I could smush it in there and create a fake Exception, but that smells funny. On the other hand, it seems bad to have multiple log repositories laying around for a small application.

Is it appropriate to use Elmah as an audit repository and create fake exceptions?
Can Elmah store “info” items, in addition to exceptions?
Is there a better repository for interesting events when I’m already using Elmah?

  • 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-11T19:48:15+00:00Added an answer on May 11, 2026 at 7:48 pm

    Definitely don’t use ELMAH for auditing. Either build auditing into your business logic or at the very least use something like log4net to log it somewhere else.

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

Sidebar

Related Questions

Hoping someone can help me design this correctly. In my TCP code, I have
I've noticed recently that spring can wire up my ejb's for me if I
Having implemented one of the above, can anyone say how I might wire it
I am trying to tidy up an application, and have manually been doing Constructor
I have Googled and read for hours now and I can't find anyone that
I would be very thankfull, if someone can tell me, how to enable wire
Is there any way I can wire up an attached behavior based on the
With StructureMap, I know that you can wire constructor arguments to app settings when
I can't believe I am stuck on this but here goes. I have a
I have an upcoming requirement, and I'm unsure if EF is the right approach.

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.