Package org.jboss.logging.appender

Examples of org.jboss.logging.appender.DailyRollingFileAppender.activateOptions()


      appender.setFile(filename);
      appender.setAppend(appendToFile);
      appender.setDatePattern(rolloverPeriod.getRolloverFormat());
      appender.setLayout(new PatternLayout(patternLayout));
      appender.setThreshold(Level.INFO);
      appender.activateOptions();
      this.appender = appender;

      for (int i = 0; i < monitoredObjects.length; ++i)
      {
         monitoredObjects[i].getLogger().addAppender(appender);
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.