Log4Net is Crap4Crap

Log4Net is Crap4Crap

Yeah, that's kind of harsh, but it's how I feel after spending the past 4 hours trying to get the ADONetAppender to work.

First off, has anyone used this thing before? There are hardly any useful examples available - both with log4net and accessible via Google. Second, who wrote the documentation for this tool? Maybe I'm spoiled after spending a lot of time working on advanced NAnt scripts, but the log4net documentation is worthless. I shouldn't have to read an 8 page, 3000 word document to get an intro to the tool. That's ridiculous. All I want is a “Getting Started” link that will walk me through setting this stupid thing up. Is that too much to ask for? I know a few people who've used log4j and they were saying how easy it was to setup. I don't know what happened in the conversion, but this is pitiful.

Anyway, I can't even tell if the thing is on or what. I setup the config file based on what was provided in the help docs and that doesn't seem to help at all. I tried specifying the wrong config section handler, but that didn't break anything, so I'm guessing that I have something setup wrong.

Unless someone severely works on the crap4docs that come with this tool, I don't see how anyone can get this to work. If someone knows of a good resource that might help, please let me know. I really don't want to sign up on the email list to figure out this one small issue and probably get tons more email that I don't care about.

This article is part of the GWB Archives. Original Author: Michael Flanakin

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.