How to track down log4net problems

This has driven me crazy on a number of occasions, so I'm linking this here to hopefully save myself and / or someone else the pain I've been through.

Credit to David Espart for his Stack Overflow answer on how to track down log4net problems ( http://stackoverflow.com/a/756241/3264286 ).

Stack Overflow answer