My answer has just been deleted without explanation.

I would like to get one, because I don't see what the problem is.
ELMAH is a great library - with which I am not affiliated in any way - to log all kinds of exceptions in ASP.NET applications.
The question was tagged with ASP.NET, so the answer was not off-topic.
If the answer lacked substance, a simple comment would have been enough - I could have added more info.

Deleting an answer like this is just disrespectful and useless, because it gives me no possibility to learn.
I would post this as an answer anytime again, because I don't know what is wrong with it.

  • 1
    Ok, now it looks like an answer, just flag it for moderator attention to undelete it. – Lucifer Jul 2 '13 at 11:55
  • @Lucifer: I did already, thanks. – Daniel Hilgarth Jul 2 '13 at 11:56

After your flag, I undeleted your answer. Had you not brought this up to meta, it still would have gotten undeleted when the moderators went through the flag queue (which only has 242 flags right now!).

Your answer isn't amazing right now, but it's better than it was.

Your original answer:

You can use ELMAH to easily log all exceptions.

It had a few issues:

  • It recommended a solution without actually showing how it would solve the OP's problem. (If ELMAH is so easy to set up, why not include example code or configuration on how to set it up?)
  • It was one sentence long. Pretend the person who is asking the question is your spouse, and will make you sleep on the couch if you always just answer in a mere sentence. You don't want to sleep on the couch, do you?

Take answers for what they are, teachable moments. You have the ability to teach hundreds of people who visit this post how to use ELMAH. Make it count.

To address your comments:

Deleting an answer like this is just disrespectful and useless, because it gives me no possibility to learn.

You're mostly right. I wouldn't use the same inflammatory language, but deleting a post without a comment does not help you learn. I wouldn't say it's useless, in that deletion does have its own feedback cycle, as this meta post proves.

We have hundreds of flags in the moderator queue every day (we receive 2500 daily). If we were to respond with a comment to every single post we deleted, there'd be no time to actually remove bad posts. Part of the reason moderators don't usually leave comments is that there's way to do so and still moderate the site.

In the past, we've asked users to engage with other users instead of just summarily flagging. People don't get flagging points for engaging, so they flag instead. Incidentally, users not leaving comments leaves more work for moderators (which doesn't scale).

Of course, if you leave good answers, you're unlikely to ever have your answer deleted, rendering this discussion somewhat moot.

  • Thanks for this answer - and for undeleting mine. – Daniel Hilgarth Jul 2 '13 at 12:19

It is a link-only answer pointing to a package, with no explanation as to how that package would solve the OP problem.

You could have added a sample configuration at least.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .