Add logging calls to the java checker.