Replace sysout with Logging