org.apache.logging.log4j.web.appender

Class ServletAppender.Builder<B extends ServletAppender.Builder<B>>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isLogThrowables

        public boolean isLogThrowables()
        Logs with ServletContext.log(String, Throwable) if true and with ServletContext.log(String) if false.
        Returns:
        whether to log a Throwable with the servlet context.
      • setLogThrowables

        public void setLogThrowables(boolean logThrowables)
        Logs with ServletContext.log(String, Throwable) if true and with ServletContext.log(String) if false.

Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.