Package com.dotcms.repackage.org.apache.log4j

Examples of com.dotcms.repackage.org.apache.log4j.ConsoleAppender


  @Override
  protected void processFile(String arg0) throws JasperException {
    //Init log4j to see the messages in ant's output
    Logger logRoot = Logger.getRootLogger();
    if (!logRoot.getAllAppenders().hasMoreElements()) {
      logRoot.addAppender(new ConsoleAppender(   new PatternLayout("%m%n")));
    }
    if ( ((!arg0.endsWith("_inc.jsp")) && (!arg0.startsWith("/html/plugins/"))) || includeJSP(arg0)) {
      super.processFile(arg0);
    } else {
      //System.err.println("Skipping: " + arg0);
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.apache.log4j.ConsoleAppender

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.