Class JdkLoggerFormatter


  • public class JdkLoggerFormatter
    extends Formatter
    A more compact formatter. Equivalent log4j config:
      log4j.rootCategory=WARN, A1
      log4j.appender.A1=org.apache.log4j.ConsoleAppender
      log4j.appender.A1.layout=org.apache.log4j.PatternLayout
      log4j.appender.A1.Target=System.err
      log4j.appender.A1.layout.ConversionPattern=%r %-15.15c{2} %-1.1p %m %n
      
    Example: 1130122891846 Http11BaseProtocol I Initializing Coyote HTTP/1.1 on http-8800
    Author:
    Costin Manolache