org.apache.commons.dbcp2

Class SwallowedExceptionLogger

    • Constructor Detail

      • SwallowedExceptionLogger

        public SwallowedExceptionLogger(org.apache.commons.logging.Log log)
        Create a SwallowedExceptionLogger with the given logger. By default, expired connection logging is turned on.
        Parameters:
        log - logger
      • SwallowedExceptionLogger

        public SwallowedExceptionLogger(org.apache.commons.logging.Log log,
                                        boolean logExpiredConnections)
        Create a SwallowedExceptionLogger with the given logger and expired connection logging property.
        Parameters:
        log - logger
        logExpiredConnections - false suppresses logging of expired connection events

Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.