Remove logging in preprocessing