On my asp webforms app I would do the log4net initialization;
log4net.Config.XmlConfigurator.Configure();
on global.asax on Application_Sta
Same thing: Application_Start. After all it is an ASP.NET application. For self hosting services you could configure log4net just before starting the host.
Application_Start
log4net