Package org.apache.log4j.jmx

Examples of org.apache.log4j.jmx.Agent


    Layout layout = new PatternLayout("%r %p [%t] %c - %m%n");
    ConsoleAppender consoleAppender = new ConsoleAppender(layout);
               
    consoleAppender.setName("console");
    BasicConfigurator.configure(consoleAppender);
    Agent agent = new Agent();
    agent.start();
  }
View Full Code Here


    Layout layout = new PatternLayout("%r %p [%t] %c - %m%n");
    ConsoleAppender consoleAppender = new ConsoleAppender(layout);
               
    consoleAppender.setName("console");
    BasicConfigurator.configure(consoleAppender);
    Agent agent = new Agent();
    agent.start();
  }
View Full Code Here

TOP

Related Classes of org.apache.log4j.jmx.Agent

Copyright © 2018 www.massapicom. 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.