private static long getFileSize() {
        var logFile = FileUtils.getFile("build/slf4j-exceptions.log");
        assertTrue(logFile.exists(), "Log file not found");
        return logFile.length();
    }
This is {@link ExceptionOnlyFilterTests}.

@author Hal Deadman
@since 6.3.0
core/cas-server-core-logging-api/src/test/java/org/apereo/cas/logging/ExceptionOnlyFilterTests.java