Improved logging in main.validate_all()