Replace sysouts with logger