Package org.apache.log4j.pattern

Examples of org.apache.log4j.pattern.PatternParser$ReadOnlyMap


    } catch (MessagingException e) {
      getLogger().error("Could not activate SMTPAppender options.", e);
    }

    if (subjectStr != null) {
      subjectConverterHead = new PatternParser(subjectStr, this.repository).parse();
    }
   
    if (this.evaluator == null) {
      String errMsg = "No TriggeringEventEvaluator is set for appender ["+getName()+"].";
      getLogger().error(errMsg);
View Full Code Here


  /**
    Activates the conversion pattern. Do not forget to call this method after
    you change the parameters of the PatternLayout instance.
  */
  public void activateOptions() {
    PatternParser patternParser = new PatternParser(conversionPattern, repository);
    if(this.repository != null) {
      patternParser.setConverterRegistry((Map) this.repository.getObject(PATTERN_RULE_REGISTRY));
    }
    head = patternParser.parse();
    handlesExceptions = PatternConverter.chainHandlesThrowable(head);
  }
View Full Code Here

  /**
    Activates the conversion pattern. Do not forget to call this method after
    you change the parameters of the PatternLayout instance.
  */
  public void activateOptions() {
    PatternParser patternParser = new PatternParser(conversionPattern);
    patternParser.setConverterRegistry(ruleRegistry);
    head = patternParser.parse();
    handlesExceptions = PatternConverter.chainHandlesThrowable(head);
  }
View Full Code Here

TOP

Related Classes of org.apache.log4j.pattern.PatternParser$ReadOnlyMap

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.