code: @SuppressWarnings("unchecked") 
     public void event(Kernel kernel, Event event)
     {
        if (event == Event.POST_CLASSLOADER)
        {
           try
           {
              Class<?> clz = Class.forName("org.jboss.logmanager.log4j.BridgeRepositorySelector", 
                                           true, 
                                           kernel.getKernelClassLoader());
  
              Method mStart = clz.getMethod("start", (Class[])null);
              Object brs = clz.newInstance();
  
              mStart.invoke(brs, (Object[])null);
           }
           catch (Throwable t)
           {
              // Nothing we can do
           }
        }
     }
docs: Event
  @param kernel The kernel
  @param event The event