It took me a long time to track down a Log4Net configuration problem where the database connection string wasn't correct because when XmlConfigurator.Configure() was called in code, instead of throwing an exception it just hung.
It would have been easy to figure out fast if I had realized it was hanging on that particular line of code right away, but I was calling a wcf service that uses a behavior that uses log4net and of course it was configured correctly in the dev environment but not in the staging environment so it took longer to track down.
It really bothers me that it just hung instead of throwing an exception about the login not working. Is this some kind of bug in log4net?