private void ConfigureLog4net(IKernel container)
        {
            XmlConfigurator.Configure();

            var logManager = new LogManagerAdapter();
            container.Bind<ILogManager>().ToConstant(logManager);
        }
 private static void ConfigureLog4Net(ContainerBuilder containerBuilder)
 {
     XmlConfigurator.Configure();
     var logManager = new LogManagerAdapter();
     containerBuilder.RegisterInstance(logManager).As<ILogManager>();
 }