@ OverrideOnDemand protected boolean isLogRequest ( @ Nonnull final HttpServletRequest aHttpRequest , @ Nonnull final HttpServletResponse aHttpResponse ) { boolean bLog = isGloballyEnabled ( ) && m_aLogger . isInfoEnabled ( ) ; if ( bLog ) { // Check for excluded path final String sRequestURI = ServletHelper . getRequestRequestURI ( aHttpRequest ) ; for ( final String sExcludedPath : m_aExcludedPaths ) if ( sRequestURI . startsWith ( sExcludedPath ) ) { bLog = false ; break ; } } return bLog ; }
Check if this request should be logged or not .