Examples of Slf4JLoggerFactory


Examples of com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory

                        factory = new com.opensymphony.xwork2.util.logging.commons.CommonsLoggerFactory();
                    } catch (ClassNotFoundException ex) {
                        //commons-logging not found try slf4j LogFactory
                        try {
                            Class.forName("org.slf4j.LoggerFactory");
                            factory = new Slf4jLoggerFactory();
                        } catch (ClassNotFoundException cnfex) {
                            // slf4j not found, falling back to jdk logging
                            factory = new JdkLoggerFactory();
                        }
                    }
View Full Code Here

Examples of com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory

        lock.writeLock().lock();
        try {
            if (factory == null) {
                try {
                    Class.forName("org.slf4j.LoggerFactory");
                    factory = new Slf4jLoggerFactory();
                } catch (ClassNotFoundException ex) {
                    //slf4j not found try commons LogFactory
                    try {
                        Class.forName("org.apache.commons.logging.LogFactory");
                        factory = new com.opensymphony.xwork2.util.logging.commons.CommonsLoggerFactory();
View Full Code Here

Examples of com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory

                    factory = new com.opensymphony.xwork2.util.logging.commons.CommonsLoggerFactory();
                } catch (ClassNotFoundException ex) {
                    //commons-logging not found try slf4j LogFactory
                    try {
                        Class.forName("org.slf4j.LoggerFactory");
                        factory = new Slf4jLoggerFactory();
                    } catch (ClassNotFoundException cnfex) {
                        // slf4j not found, falling back to jdk logging
                        factory = new JdkLoggerFactory();
                    }
                }
View Full Code Here

Examples of io.netty.util.internal.logging.Slf4JLoggerFactory

    @BeforeClass
    public static void createGroup() {
        logger.info("Bandwidth: " + minfactor + " <= " + bandwidthFactor + " <= " + maxfactor +
                    " StepMs: " + stepms + " MinMs: " + minimalms + " CheckMs: " + check);
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
        Logger logger = (Logger) LoggerFactory.getLogger("ROOT");
        logger.setLevel(Level.INFO);
        group = new DefaultEventExecutorGroup(8);
        groupForGlobal = new DefaultEventExecutorGroup(8);
    }
View Full Code Here

Examples of org.bladerunnerjs.logging.SLF4JLoggerFactory

  //TODO: remove this once we've removed all legacy code
  public static BRJS root;
 
  public static synchronized BRJS initializeModel(File brjsDir) throws InvalidSdkDirectoryException {
    if (model == null) {
      model = new BRJS(brjsDir, new BRJSPluginLocator(), new SLF4JLoggerFactory(), new RealTimeAccessor(), new TimestampAppVersionGenerator());
      root = model;
    }
   
    return model;
  }
View Full Code Here

Examples of org.jboss.netty.logging.Slf4JLoggerFactory

    @BeforeMethod(alwaysRun = true)
    public void setup()
    {
        bootstrap = null;
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
    }
View Full Code Here

Examples of org.jboss.netty.logging.Slf4JLoggerFactory

    @BeforeMethod(alwaysRun = true)
    public void setup()
    {
        server = null;
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
    }
View Full Code Here

Examples of org.jboss.netty.logging.Slf4JLoggerFactory

        DelegateSelectorProvider.init();
    }

    @BeforeMethod(alwaysRun = true)
    public void setup() {
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
        DelegateSelectorProvider.makeDeaf();
    }
View Full Code Here

Examples of org.jboss.netty.logging.Slf4JLoggerFactory

    @BeforeMethod(alwaysRun = true)
    public void setup()
    {
        server = null;
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
    }
View Full Code Here

Examples of org.jboss.netty.logging.Slf4JLoggerFactory

    private static final Logger log = LoggerFactory.getLogger(TestNiftyClient.class);

    @BeforeMethod(alwaysRun = true)
    public void setup() throws IOException
    {
        InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.