Remove debugging try-catch and add testLogging instead into build.gradle.