The following line of code can be imported in any class to instantiate a log4net logger. The logger takes the name of the class it is instantiated within.
private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);