Class ProtocolLogUtil

    • Constructor Detail

      • ProtocolLogUtil

        public ProtocolLogUtil()
    • Method Detail

      • logShort

        public boolean logShort​(Throwable t)
        Return true if exception is configured to be logged as short message without stack trace, usually done for frequent exceptions with obvious reasons (e.g., UnknownHostException), configurable by http.log.exceptions.suppress.stack
        Parameters:
        t - a Throwable implementation associated with protocol activity
        Returns:
        true if exception is configured to be logged as short message without stack trace