convert to log statements, remove custom formatter